]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_admin: improve the orphans find help
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 1 Apr 2016 11:46:30 +0000 (13:46 +0200)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 Sep 2016 21:34:23 +0000 (17:34 -0400)
Adding  a few missing commandline switches and improve the help message

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 27e4c46f741a5f908d5c8ca1af227b3581c697f6)

src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index 60051482ef576ad9fe03e1cd6f797bb1403bcb11..cb6a2c7060d18bc29b0bcdefa3c3bbf4b7410110 100644 (file)
@@ -112,7 +112,7 @@ void _usage()
   cerr << "  replicalog get             get replica metadata log entry\n";
   cerr << "  replicalog update          update replica metadata log entry\n";
   cerr << "  replicalog delete          delete replica metadata log entry\n";
-  cerr << "  orphans find               init and run search for leaked rados objects\n";
+  cerr << "  orphans find               init and run search for leaked rados objects (use job-id, pool)\n";
   cerr << "  orphans finish             clean up search for leaked rados objects\n";
   cerr << "options:\n";
   cerr << "   --uid=<id>                user id\n";
@@ -183,6 +183,8 @@ void _usage()
   cerr << "\nOrphans search options:\n";
   cerr << "   --pool                    data pool to scan for leaked rados objects in\n";
   cerr << "   --num-shards              num of shards to use for keeping the temporary scan info\n";
+  cerr << "   --job-id                  set the job id (for orphans find)\n";
+  cerr << "   --max-concurrent-ios      maximum concurrent ios for orphans find (default: 32)\n";
   cerr << "\n";
   generic_client_usage();
 }
index dde20f8ca82b64dd25dec46e49cfc182b09be80e..060e92edd39705a8ef0e02c2c0284ac31170b06b 100644 (file)
@@ -69,7 +69,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:
      --uid=<id>                user id
   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