From: Accela Zhao Date: Wed, 18 Jun 2014 09:17:03 +0000 (+0800) Subject: Make in "ceph osd tier --help" clearer. X-Git-Tag: v0.80.2~22^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3ad451ef57e2ab3fc644c94d44c2de7a17cced45;p=ceph.git Make in "ceph osd tier --help" clearer. The ceph osd tier --help info on the left always says . It is unclear which one to put on the right. $ceph osd tier --help osd tier add {-- add the tier to base pool force-nonempty} osd tier add-cache add a cache of size to existing pool ... This patch modifies description on the right to tell which : osd tier add {-- add the tier (the second force-nonempty} one) to base pool (the first one) ... Fix: http://tracker.ceph.com/issues/8256 Signed-off-by: Yilong Zhao --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 36f1e9fc7c4e..eb63303b1689 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -585,11 +585,13 @@ COMMAND("osd tier add " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname " \ "name=force_nonempty,type=CephChoices,strings=--force-nonempty,req=false", - "add the tier to base pool ", "osd", "rw", "cli,rest") + "add the tier (the second one) to base pool (the first one)", \ + "osd", "rw", "cli,rest") COMMAND("osd tier remove " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname", - "remove the tier from base pool ", "osd", "rw", "cli,rest") + "remove the tier (the second one) from base pool (the first one)", \ + "osd", "rw", "cli,rest") COMMAND("osd tier cache-mode " \ "name=pool,type=CephPoolname " \ "name=mode,type=CephChoices,strings=none|writeback|forward|readonly", \ @@ -606,7 +608,7 @@ COMMAND("osd tier add-cache " \ "name=pool,type=CephPoolname " \ "name=tierpool,type=CephPoolname " \ "name=size,type=CephInt,range=0", \ - "add a cache of size to existing pool ", \ + "add a cache (the second one) of size to existing pool (the first one)", \ "osd", "rw", "cli,rest") /*