]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_admin: improve the orphans find help 8410/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 11:46:30 +0000 (13:46 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 14:47:46 +0000 (16:47 +0200)
Adding  a few missing commandline switches and improve the help message

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index f547f051f1511f5fe7635baf27f25d0c1c9de725..a7a481c90245d4e9501cdc1739a83d12d2ac269a 100644 (file)
@@ -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>         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();
 }
index a379c1fc83d0e5bc5782e8bcf1e521119c3ddb76..dba510d93103bbfedf754b58e33551e2d5835a25 100644 (file)
     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>         tenant name
   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
     --version         show version and quit
   
   [1]
+
+