mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
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:
parent
ccc5e7114b
commit
28982cad9b
@ -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
|
||||
|
@ -1979,7 +1979,7 @@ class RemoveDataPoolHandler : public FileSystemCommandHandler
|
||||
{
|
||||
public:
|
||||
RemoveDataPoolHandler()
|
||||
: FileSystemCommandHandler("fs remove_data_pool")
|
||||
: FileSystemCommandHandler("fs rm_data_pool")
|
||||
{}
|
||||
|
||||
int handle(
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user