]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: process crushed, rbd creating with striping parameters 6942/head
authorna xie <xie.na@h3c.com>
Tue, 15 Dec 2015 13:28:34 +0000 (21:28 +0800)
committerna xie <xie.na@h3c.com>
Wed, 16 Dec 2015 01:48:31 +0000 (09:48 +0800)
Signed-off-by: Na Xie <xie.na@h3c.com>
src/tools/rbd/ArgumentTypes.cc

index ef06f198c6495a35ae017acc40c742d03ed5991c..a403f011cabb5dfb04a9c79a15e107738031893a 100644 (file)
@@ -223,8 +223,8 @@ void add_create_image_options(po::options_description *opt,
     (IMAGE_FEATURES.c_str(), po::value<ImageFeatures>()->composing(),
      ("image features\n" + get_short_features_help(true)).c_str())
     (IMAGE_SHARED.c_str(), po::bool_switch(), "shared image")
-    (IMAGE_STRIPE_UNIT.c_str(), po::value<uint32_t>(), "stripe unit")
-    (IMAGE_STRIPE_COUNT.c_str(), po::value<uint32_t>(), "stripe count");
+    (IMAGE_STRIPE_UNIT.c_str(), po::value<uint64_t>(), "stripe unit")
+    (IMAGE_STRIPE_COUNT.c_str(), po::value<uint64_t>(), "stripe count");
 
   add_create_journal_options(opt);
 }