From: xie xingguo Date: Fri, 22 Apr 2016 01:45:30 +0000 (+0800) Subject: tools/crushtool: add straw2 support for help message X-Git-Tag: v11.0.0~846^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6448ea283b4e1519682ecb29f18fbb767752d496;p=ceph.git tools/crushtool: add straw2 support for help message Signed-off-by: xie xingguo --- diff --git a/src/test/cli/crushtool/help.t b/src/test/cli/crushtool/help.t index e5ead0824053..7edb3afe317e 100755 --- a/src/test/cli/crushtool/help.t +++ b/src/test/cli/crushtool/help.t @@ -26,7 +26,7 @@ compile with unsafe tunables --build --num_osds N layer1 ... build a new map, where each 'layer' is - 'name (uniform|straw|list|tree) size' + 'name (uniform|straw2|straw|list|tree) size' Options for the tunables adjustments stage diff --git a/src/tools/crushtool.cc b/src/tools/crushtool.cc index 7e0438972c59..b1f5aaabf42b 100644 --- a/src/tools/crushtool.cc +++ b/src/tools/crushtool.cc @@ -132,7 +132,7 @@ void usage() cout << " compile with unsafe tunables\n"; cout << " --build --num_osds N layer1 ...\n"; cout << " build a new map, where each 'layer' is\n"; - cout << " 'name (uniform|straw|list|tree) size'\n"; + cout << " 'name (uniform|straw2|straw|list|tree) size'\n"; cout << "\n"; cout << "Options for the tunables adjustments stage\n"; cout << "\n";