]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: stripe count is not measured in bytes
authorSage Weil <sage@inktank.com>
Mon, 5 Nov 2012 17:57:39 +0000 (09:57 -0800)
committerSage Weil <sage@inktank.com>
Mon, 5 Nov 2012 17:57:39 +0000 (09:57 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/rbd.cc

index de30510eb1c8ad34eb2a6b1a1c7692e3ca1163e3..2e3b0293dc3b59d863e80107189a1347701361b3 100644 (file)
@@ -381,7 +381,7 @@ static int do_show_info(const char *imgname, librbd::Image& image,
   // striping info, if feature is set
   if (features & RBD_FEATURE_STRIPINGV2) {
     cout << "\tstripe unit: " << prettybyte_t(image.get_stripe_unit()) << std::endl
-        << "\tstripe count: " << prettybyte_t(image.get_stripe_count()) << std::endl;
+        << "\tstripe count: " << image.get_stripe_count() << std::endl;
   }
   return 0;
 }