]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: add 'osd crush rule ...' to usage 254/head
authorSage Weil <sage@inktank.com>
Fri, 3 May 2013 23:08:45 +0000 (16:08 -0700)
committerSage Weil <sage@inktank.com>
Fri, 3 May 2013 23:08:45 +0000 (16:08 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/cli/ceph/help.t
src/tools/ceph.cc

index bafc3b9633f231a896fcfa81c2261cc6d7d1e53c..22be153a9805bbc8f0691479a4f935994abe1c62 100644 (file)
@@ -54,6 +54,9 @@
     ceph osd crush add-bucket <bucketname> <type>
     ceph osd crush reweight <name> <weight>
     ceph osd crush tunables <legacy|argonaut|bobtail|optimal|default>
+    ceph osd crush rule list
+    ceph osd crush rule dump
+    ceph osd crush rule create-simple <name> <root> <failure-domain>
     ceph osd create [<uuid>]
     ceph osd rm <osd-id> [<osd-id>...]
     ceph osd lost [--yes-i-really-mean-it]
index ed6a5342807cacf982424f3cfe6602ffa180dae9..ac0553cd825d5ab19b8f287ae3d4f12544c95a58 100644 (file)
@@ -97,6 +97,9 @@ static void usage()
   cout << "  ceph osd crush add-bucket <bucketname> <type>\n";
   cout << "  ceph osd crush reweight <name> <weight>\n";
   cout << "  ceph osd crush tunables <legacy|argonaut|bobtail|optimal|default>\n";
+  cout << "  ceph osd crush rule list\n";
+  cout << "  ceph osd crush rule dump\n";
+  cout << "  ceph osd crush rule create-simple <name> <root> <failure-domain>\n";
   cout << "  ceph osd create [<uuid>]\n";
   cout << "  ceph osd rm <osd-id> [<osd-id>...]\n";
   cout << "  ceph osd lost [--yes-i-really-mean-it]\n";