]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Make <poolname> in "ceph osd tier --help" clearer.
authorAccela Zhao <accelazh@gmail.com>
Wed, 18 Jun 2014 09:17:03 +0000 (17:17 +0800)
committerSage Weil <sage@inktank.com>
Wed, 25 Jun 2014 20:15:47 +0000 (13:15 -0700)
commit969553515848d837c1e18337bcdd17e3391b6451
treeadb235a7f8d860a0f16153b39632eb6dab4de378
parent381aac542055d1e924f49252b3f7e88f330d28f9
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