mds: change the 'fs remove_data_pool' to 'fs rm_data_pool'

As 'fs remove_data_pool' is newly introduced command, let's
change it to 'fs rm_data_pool' immediately rather than introduce
another alias for it.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This commit is contained in:
Dongsheng Yang 2016-03-12 06:47:48 -05:00
parent ccc5e7114b
commit 28982cad9b
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ creation of multiple filesystems use ``ceph fs flag set enable_multiple true``.
::
fs remove_data_pool <filesystem name> <pool name/id>
fs rm_data_pool <filesystem name> <pool name/id>
Daemons

View File

@ -1979,7 +1979,7 @@ class RemoveDataPoolHandler : public FileSystemCommandHandler
{
public:
RemoveDataPoolHandler()
: FileSystemCommandHandler("fs remove_data_pool")
: FileSystemCommandHandler("fs rm_data_pool")
{}
int handle(

View File

@ -412,7 +412,7 @@ COMMAND("fs flag set name=flag_name,type=CephChoices,strings=enable_multiple "
COMMAND("fs add_data_pool name=fs_name,type=CephString " \
"name=pool,type=CephString", \
"add data pool <pool>", "mds", "rw", "cli,rest")
COMMAND("fs remove_data_pool name=fs_name,type=CephString " \
COMMAND("fs rm_data_pool name=fs_name,type=CephString " \
"name=pool,type=CephString", \
"remove data pool <pool>", "mds", "rw", "cli,rest")