]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados cli: fix documentation for -b option 4234/head
authorDmitry Yatsushkevich <dyatsushkevich@mirantis.com>
Tue, 7 Apr 2015 23:01:02 +0000 (16:01 -0700)
committerDmitry Yatsushkevich <dmitry.yatsushkevich@gmail.com>
Wed, 6 May 2015 17:24:35 +0000 (10:24 -0700)
Fix focumentation for block size option for rados cli

Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
doc/man/8/rados.rst
src/tools/rados/rados.cc

index 5f573ec7c46e83e5c34967ae36a9d51e6f7c5894..6dec6ca80773637d829fab58d585cc76e0fdeca0 100644 (file)
@@ -53,6 +53,10 @@ Options
 
    Connect to specified monitor (instead of looking through ceph.conf).
 
+.. option:: -b block_size
+
+  Set the block size for put/get ops and for write benchmarking.
+
 
 Global commands
 ===============
@@ -104,7 +108,8 @@ Pool specific commands
   sequential or random. Before running one of the reading benchmarks,
   run a write benchmark with the *--no-cleanup* option. The default
   object size is 4 MB, and the default number of simulated threads
-  (parallel writes) is 16. 
+  (parallel writes) is 16.
+  Note: -b *objsize* option is valid only in *write* mode.
 
 :command:`cleanup`
 
index 86f0abe910757e75bae5b0ec9b9f50ee058d93c6..50140659535dbe6e90ab635b27a4b6192eac9edb 100644 (file)
@@ -158,7 +158,7 @@ void usage(ostream& out)
 "   --target-pool=pool\n"
 "        select target pool by name\n"
 "   -b op_size\n"
-"        set the size of write ops for put or benchmarking\n"
+"        set the block size for put/get ops and for write benchmarking\n"
 "   -s name\n"
 "   --snap name\n"
 "        select given snap name for (read) IO\n"