]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: output copy progress
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 12 Aug 2011 17:48:00 +0000 (10:48 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 12 Aug 2011 17:48:00 +0000 (10:48 -0700)
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/librbd.cc

index a1a90008919eae1f01e2c91e069e32b4110df495..f4a55333be548ad040339da166c04b07f32a6714 100644 (file)
@@ -1060,6 +1060,7 @@ int copy(IoCtx& src_md_ctx, const char *srcname, IoCtx& dest_md_ctx, const char
       if (r < 0)
        goto done;
     }
+    ldout(cct, 0) << i + 1 << "/" << numseg << " objects copied" << dendl;
   }
   r = 0;