]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/rbd: make bench-write invisible to user
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Fri, 13 May 2016 08:56:39 +0000 (04:56 -0400)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Mon, 20 Jun 2016 05:24:44 +0000 (01:24 -0400)
rbd bench-write is going to be deprecated. This patch
makes it invisible in help message and manpage. But it
is still working.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
doc/man/8/rbd.rst
src/tools/rbd/action/BenchWrite.cc

index 42ef2c850373eb4eba54e1ec5a0a03c74f1d68ee..c9136f699dabc74469bef0be7c615a0b30cd42dc 100644 (file)
@@ -369,11 +369,6 @@ Commands
   Release a lock on an image. The lock id and locker are
   as output by lock ls.
 
-:command:`bench-write` [--io-size *size-in-B/K/M/G/T*] [--io-threads *num-ios-in-flight*] [--io-total *total-size-to-write-in-B/K/M/G/T*] [--io-pattern seq | rand] *image-spec*
-  Generate a series of writes to the image and measure the write throughput and
-  latency.  Defaults are: --io-size 4096, --io-threads 16, --io-total 1G,
-  --io-pattern seq.
-
 Image and snap specs
 ====================
 
index c124f30423cadb4f822790315a8c7c2f23a274c7..6691a28974a74e791e581ac35375fd9df243c47c 100644 (file)
@@ -303,7 +303,7 @@ int execute(const po::variables_map &vm) {
 }
 
 Shell::Action action(
-  {"bench-write"}, {}, "Simple write benchmark.", "", &get_arguments, &execute);
+  {"bench-write"}, {}, "Simple write benchmark.", "", &get_arguments, &execute, false);
 
 } // namespace bench_write
 } // namespace action