]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rbd: removed migration source annotation from parent info
authorJason Dillaman <dillaman@redhat.com>
Tue, 12 Feb 2019 15:43:14 +0000 (10:43 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 12 Feb 2019 15:43:14 +0000 (10:43 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd/action/Info.cc

index 1b4f53d0081f9df1274e6a92635362bdf0b57697..5adacb92be8ca2fb0bfb72bd3299f3edcd693677 100644 (file)
@@ -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;
     }