]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/rbd: introduce a simple bench for read 9066/head
authorDongsheng Yang <dongsheng.yang@easystack.cn>
Fri, 13 May 2016 08:57:32 +0000 (04:57 -0400)
committerDongsheng Yang <dongsheng.yang@easystack.cn>
Mon, 20 Jun 2016 05:24:44 +0000 (01:24 -0400)
commit23a135d2a8a9fc5acb8d833419d564eac8f3933b
treeefefd913cc8806e6b9bbbdbb36c93e20610c6f47
parent1dd542d8ce0f961ea816f261f07cd66912ebba64
tools/rbd: introduce a simple bench for read

Currently, we have a bench-write for in rbd tool, but we don't have
a simple bench for read.

This patch add a new subcommand of bench, with an option of --io-type.
Then we can do a simple bench for write or read.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
doc/man/8/rbd.rst
src/CMakeLists.txt
src/test/cli-integration/rbd/formatted-output.t
src/test/cli/rbd/help.t
src/test/cli/rbd/invalid-snap-usage.t
src/test/cli/rbd/not-enough-args.t
src/tools/Makefile-client.am
src/tools/rbd/action/Bench.cc [new file with mode: 0644]
src/tools/rbd/action/BenchWrite.cc [deleted file]