From: Dmitry Yatsushkevich Date: Tue, 7 Apr 2015 23:01:02 +0000 (-0700) Subject: rados cli: fix documentation for -b option X-Git-Tag: v9.0.2~233^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4234%2Fhead;p=ceph.git rados cli: fix documentation for -b option Fix focumentation for block size option for rados cli Signed-off-by: Dmitry Yatsushkevich --- diff --git a/doc/man/8/rados.rst b/doc/man/8/rados.rst index 5f573ec7c46e..6dec6ca80773 100644 --- a/doc/man/8/rados.rst +++ b/doc/man/8/rados.rst @@ -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` diff --git a/src/tools/rados/rados.cc b/src/tools/rados/rados.cc index 86f0abe91075..50140659535d 100644 --- a/src/tools/rados/rados.cc +++ b/src/tools/rados/rados.cc @@ -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"