]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: improve the logic of the loop when doing bench test
authorPCzhangPC <pengcheng.zhang@easystack.cn>
Thu, 14 Sep 2017 05:26:43 +0000 (13:26 +0800)
committerPCzhangPC <pengcheng.zhang@easystack.cn>
Thu, 14 Sep 2017 05:26:43 +0000 (13:26 +0800)
commit021eb15ae93ed1ff776948437e1bfa9ef31bc5d4
treeb953e2c8cad95e241e54919495b0c6fe1058ec6a
parent594b736228040aae5e9f5c8d7988194b929285b7
rbd: improve the logic of the loop when doing bench test

when we do rbd bench test, there's two problems:
 1. do lots of failure start_io try
 2. The number of executions of each thread is unevenly distributed
this commit is trying to fix this.

Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
src/tools/rbd/action/Bench.cc