From: Abhishek Lekshmanan Date: Fri, 1 Apr 2016 11:46:30 +0000 (+0200) Subject: rgw_admin: improve the orphans find help X-Git-Tag: v10.1.1~15^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8410%2Fhead;p=ceph.git rgw_admin: improve the orphans find help Adding a few missing commandline switches and improve the help message Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index f547f051f151..a7a481c90245 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -151,7 +151,7 @@ void _usage() cout << " replicalog get get replica metadata log entry\n"; cout << " replicalog update update replica metadata log entry\n"; cout << " replicalog delete delete replica metadata log entry\n"; - cout << " orphans find init and run search for leaked rados objects\n"; + cout << " orphans find init and run search for leaked rados objects (use job-id, pool)\n"; cout << " orphans finish clean up search for leaked rados objects\n"; cout << "options:\n"; cout << " --tenant= tenant name\n"; @@ -238,6 +238,8 @@ void _usage() cout << "\nOrphans search options:\n"; cout << " --pool data pool to scan for leaked rados objects in\n"; cout << " --num-shards num of shards to use for keeping the temporary scan info\n"; + cout << " --job-id set the job id (for orphans find)\n"; + cout << " --max-concurrent-ios maximum concurrent ios for orphans find (default: 32)\n"; cout << "\n"; generic_client_usage(); } diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index a379c1fc83d0..dba510d93103 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -103,7 +103,7 @@ replicalog get get replica metadata log entry replicalog update update replica metadata log entry replicalog delete delete replica metadata log entry - orphans find init and run search for leaked rados objects + orphans find init and run search for leaked rados objects (use job-id, pool) orphans finish clean up search for leaked rados objects options: --tenant= tenant name @@ -192,6 +192,8 @@ Orphans search options: --pool data pool to scan for leaked rados objects in --num-shards num of shards to use for keeping the temporary scan info + --job-id set the job id (for orphans find) + --max-concurrent-ios maximum concurrent ios for orphans find (default: 32) --conf/-c FILE read configuration from the given configuration file --id/-i ID set ID portion of my name @@ -202,3 +204,5 @@ --version show version and quit [1] + +