From 70585a6f7bd2291ab590634c8c5a6c3c448fddf7 Mon Sep 17 00:00:00 2001 From: Dmitry Yatsushkevich Date: Tue, 7 Apr 2015 16:01:02 -0700 Subject: [PATCH] rados cli: fix documentation for -b option Fix focumentation for block size option for rados cli Signed-off-by: Dmitry Yatsushkevich --- doc/man/8/rados.rst | 7 ++++++- src/tools/rados/rados.cc | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/man/8/rados.rst b/doc/man/8/rados.rst index 5f573ec7c46..6dec6ca8077 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 86f0abe9107..50140659535 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" -- 2.47.3