]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: document orphans commands in usage 7473/head
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 2 Feb 2016 00:33:55 +0000 (16:33 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 2 Feb 2016 00:33:55 +0000 (16:33 -0800)
Fixes: #14516
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index c9365fabfe176b3927d7d8ea2d7c45779482c54f..872e74418641ba9ce46cb16b98dfdedc1cbe896b 100644 (file)
@@ -117,6 +117,8 @@ 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 finish             clean up search for leaked rados objects\n";
   cout << "options:\n";
   cout << "   --uid=<id>                user id\n";
   cout << "   --subuser=<name>          subuser name\n";
@@ -180,6 +182,9 @@ void _usage()
   cout << "   --max-objects             specify max objects (negative value to disable)\n";
   cout << "   --max-size                specify max size (in bytes, negative value to disable)\n";
   cout << "   --quota-scope             scope of quota (bucket, user)\n";
+  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 << "\n";
   generic_client_usage();
 }
index c233f615d8918693ae3d7b7bcc88fa356aa02b8c..260de6d3fd85afe0d008bd31d966c2db4e39086d 100644 (file)
@@ -73,6 +73,8 @@
     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 finish             clean up search for leaked rados objects
   options:
      --uid=<id>                user id
      --subuser=<name>          subuser name
      --max-size                specify max size (in bytes, negative value to disable)
      --quota-scope             scope of quota (bucket, user)
   
+  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
+  
     --conf/-c FILE    read configuration from the given configuration file
     --id/-i ID        set ID portion of my name
     --name/-n TYPE.ID set name