]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: fix debug output
authorSage Weil <sage@newdream.net>
Thu, 19 Apr 2012 23:14:15 +0000 (16:14 -0700)
committerSage Weil <sage@newdream.net>
Fri, 20 Apr 2012 23:51:01 +0000 (16:51 -0700)
objects is misleading here, these are byte offsets

Signed-off-by: Sage Weil <sage@newdream.net>
src/librbd.cc

index 2a9d6e621565088cdbb7c77f3930f8d3da8fdac2..2d7c91339e65d8fede8d33c4501b29cb9444b693 100644 (file)
@@ -966,10 +966,10 @@ int resize_helper(ImageCtx *ictx, uint64_t size, ProgressContext& prog_ctx)
   }
 
   if (size > ictx->header.image_size) {
-    ldout(cct, 2) << "expanding image " << ictx->header.image_size << " -> " << size << " objects" << dendl;
+    ldout(cct, 2) << "expanding image " << ictx->header.image_size << " -> " << size << dendl;
     ictx->header.image_size = size;
   } else {
-    ldout(cct, 2) << "shrinking image " << ictx->header.image_size << " -> " << size << " objects" << dendl;
+    ldout(cct, 2) << "shrinking image " << ictx->header.image_size << " -> " << size << dendl;
     trim_image(ictx->data_ctx, ictx->header, size, prog_ctx);
     ictx->header.image_size = size;
   }