From: Sage Weil Date: Wed, 14 Aug 2013 22:24:44 +0000 (-0700) Subject: mon: clarify 'osd crush add' vs 'osd crush set' X-Git-Tag: v0.68~67^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=97c3a9a5bb9a467477a565dcb2b70ee9bfb3a097;p=ceph.git mon: clarify 'osd crush add' vs 'osd crush set' Signed-off-by: Sage Weil Reviewed-by: Joao Eduardo Luis --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index e4cb9ce45ed5..8d85e03ed996 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -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 to with location ", \ + "update crushmap position and weight for to with location ", \ "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 with and location ", \ + "add or update crushmap position and weight for with and location ", \ "osd", "rw", "cli,rest") COMMAND("osd crush create-or-move " \ "name=id,type=CephOsdName " \