]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rados cli: add preventing using --block-size with bench seq and rand
authorDmitry Yatsushkevich <dyatsushkevich@mirantis.com>
Mon, 30 Mar 2015 23:48:33 +0000 (16:48 -0700)
committerDmitry Yatsushkevich <dmitry.yatsushkevich@gmail.com>
Tue, 5 May 2015 21:50:01 +0000 (14:50 -0700)
commit0dea11d90705e04a0bf049e6701984fc36f78264
tree3aeb750b34bfb62eac7bf82523ead5fa745b6872
parent1d1d0aa01b944e8f9dad96b7f13bce2a581ba758
rados cli: add preventing using --block-size with bench seq and rand

Add handling of situation when '-b|--block-size' option is using with
'bench seq' or 'bench rand' which is erroneous according to the help message:
     -b op_size
            set the size of write ops for put or benchmarking

Fixes: #10163
Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
src/tools/rados/rados.cc