From 699e54dfeb4e94746d035b35a50e2bcc2991c2e4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 5 Nov 2012 09:57:39 -0800 Subject: [PATCH] rbd: stripe count is not measured in bytes Signed-off-by: Sage Weil --- src/rbd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rbd.cc b/src/rbd.cc index de30510eb1c..2e3b0293dc3 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -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; } -- 2.47.3