mirror of
https://github.com/ceph/ceph
synced 2025-03-29 23:09:47 +00:00
rbd: removed migration source annotation from parent info
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
cb18eb2f63
commit
79a10192e8
@ -324,9 +324,6 @@ static int do_show_info(librados::IoCtx &io_ctx, librbd::Image& image,
|
||||
f->dump_string("id", parent_image_spec.image_id);
|
||||
f->dump_string("snapshot", parent_snap_spec.name);
|
||||
f->dump_bool("trash", parent_image_spec.trash);
|
||||
if ((features & RBD_FEATURE_MIGRATING) != 0) {
|
||||
f->dump_bool("migration_source", true);
|
||||
}
|
||||
f->dump_unsigned("overlap", overlap);
|
||||
f->close_section();
|
||||
} else {
|
||||
@ -339,9 +336,6 @@ static int do_show_info(librados::IoCtx &io_ctx, librbd::Image& image,
|
||||
if (parent_image_spec.trash) {
|
||||
std::cout << " (trash " << parent_image_spec.image_id << ")";
|
||||
}
|
||||
if ((features & RBD_FEATURE_MIGRATING) != 0) {
|
||||
std::cout << " (migration source)";
|
||||
}
|
||||
std::cout << std::endl;
|
||||
std::cout << "\toverlap: " << byte_u_t(overlap) << std::endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user