]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Make <poolname> in "ceph osd tier --help" clearer. 1982/head
authorAccela Zhao <accelazh@gmail.com>
Wed, 18 Jun 2014 09:17:03 +0000 (17:17 +0800)
committerAccela Zhao <accelazh@gmail.com>
Wed, 18 Jun 2014 11:28:41 +0000 (19:28 +0800)
commit3ad451ef57e2ab3fc644c94d44c2de7a17cced45
tree49e2a60ce42b4d2012d6a239c51775d22630b3b8
parentf290a021bc8ec31c18b91cb37323345692f2f198
Make <poolname> in "ceph osd tier --help" clearer.

The ceph osd tier --help info on the left always says <poolname>.
It is unclear which one to put <tierpool> on the right.

$ceph osd tier --help
osd tier add <poolname> <poolname> {--   add the tier <tierpool> to base pool
force-nonempty}                          <pool>
osd tier add-cache <poolname>            add a cache <tierpool> of size <size>
<poolname> <int[0-]>                     to existing pool <pool>
...

This patch modifies description on the right to tell which <poolname>:

osd tier add <poolname> <poolname> {--   add the tier <tierpool> (the second
 force-nonempty}                          one) to base pool <pool> (the first
                                           one)
...

Fix: http://tracker.ceph.com/issues/8256

Signed-off-by: Yilong Zhao <accelazh@gmail.com>
src/mon/MonCommands.h