]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: clarify 'osd crush add' vs 'osd crush set'
authorSage Weil <sage@inktank.com>
Wed, 14 Aug 2013 22:24:44 +0000 (15:24 -0700)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 15 Aug 2013 22:52:43 +0000 (15:52 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/mon/MonCommands.h

index e4cb9ce45ed513b45023e878234a66b674a1abe6..8d85e03ed9967bdc34b77aacb55c8aa662410f37 100644 (file)
@@ -369,13 +369,13 @@ COMMAND("osd crush set " \
        "name=id,type=CephOsdName " \
        "name=weight,type=CephFloat,range=0.0 " \
        "name=args,type=CephString,n=N,goodchars=[A-Za-z0-9-_.=]", \
-       "set crushmap entry for <name> to <weight> with location <args>", \
+       "update crushmap position and weight for <name> to <weight> with location <args>", \
        "osd", "rw", "cli,rest")
 COMMAND("osd crush add " \
        "name=id,type=CephOsdName " \
        "name=weight,type=CephFloat,range=0.0 " \
        "name=args,type=CephString,n=N,goodchars=[A-Za-z0-9-_.=]", \
-       "add crushmap entry for <name> with <weight> and location <args>", \
+       "add or update crushmap position and weight for <name> with <weight> and location <args>", \
        "osd", "rw", "cli,rest")
 COMMAND("osd crush create-or-move " \
        "name=id,type=CephOsdName " \