]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rados bench: fix the delayed checking of completed ops 32928/head
authorJianshen Liu <jliu120@ucsc.edu>
Tue, 28 Jan 2020 05:52:36 +0000 (22:52 -0700)
committerJianshen Liu <jliu120@ucsc.edu>
Wed, 5 Feb 2020 00:44:42 +0000 (16:44 -0800)
commit604bd1785635139a2b520f654c653057330c9c24
treef9bb9829b8c1235ead765390832c9f02dc9b37b6
parent7ac858ca09c4eb35bfcf050a59bd765483ab4675
rados bench: fix the delayed checking of completed ops

When the submission process is done, rados bench will scan the
completed ops in a sequence manner. However, because the order of
completion may not be sequential, some of the completed ops suffer from
delayed checking, causing the average latency of all ops to be
prolonged. The solution is to reuse the checking mechanism used during
the submission process.

Signed-off-by: Jianshen Liu <jliu120@ucsc.edu>
src/common/obj_bencher.cc
src/tools/rados/rados.cc