From: Loic Dachary Date: Thu, 21 Nov 2013 12:08:19 +0000 (+0100) Subject: doc: clarify crush rule create-simple and fix typos X-Git-Tag: v0.74~60 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bafb5c3604544019d8771be89cc9ccdfdfb9ade3;p=ceph.git doc: clarify crush rule create-simple and fix typos update the description of osd crush rule create-simple using terms that match the keywords from the crushmap to avoid confusion. fix missing closing parenthesis in osd crush commands Signed-off-by: Loic Dachary Reviewed-by: Josh Durgin --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 5a6ca6a471d..e3f347606f7 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -405,17 +405,17 @@ COMMAND("osd crush link " \ COMMAND("osd crush rm " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \ "name=ancestor,type=CephString,req=false,goodchars=[A-Za-z0-9-_.]", \ - "remove from crush map (everywhere, or just at ",\ + "remove from crush map (everywhere, or just at )",\ "osd", "rw", "cli,rest") COMMAND("osd crush remove " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \ "name=ancestor,type=CephString,req=false,goodchars=[A-Za-z0-9-_.]", \ - "remove from crush map (everywhere, or just at ", \ + "remove from crush map (everywhere, or just at )", \ "osd", "rw", "cli,rest") COMMAND("osd crush unlink " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \ "name=ancestor,type=CephString,req=false,goodchars=[A-Za-z0-9-_.]", \ - "unlink from crush map (everywhere, or just at ", \ + "unlink from crush map (everywhere, or just at )", \ "osd", "rw", "cli,rest") COMMAND("osd crush reweight " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \ @@ -429,7 +429,7 @@ COMMAND("osd crush rule create-simple " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] " \ "name=root,type=CephString,goodchars=[A-Za-z0-9-_.] " \ "name=type,type=CephString,goodchars=[A-Za-z0-9-_.]", - "create crush rule in of type ", \ + "create crush rule to 'take' from bucket and 'chooseleaf_first' a bucket ", \ "osd", "rw", "cli,rest") COMMAND("osd crush rule rm " \ "name=name,type=CephString,goodchars=[A-Za-z0-9-_.] ", \