From bafb5c3604544019d8771be89cc9ccdfdfb9ade3 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Thu, 21 Nov 2013 13:08:19 +0100 Subject: [PATCH] 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 --- src/mon/MonCommands.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 5a6ca6a471d2..e3f347606f72 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-_.] ", \ -- 2.47.3