]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
NVMEDevice: fix the nvme queue depth issue
authorZiye Yang <optimistyzy@gmail.com>
Wed, 23 Aug 2017 14:04:01 +0000 (22:04 +0800)
committerZiye Yang <optimistyzy@gmail.com>
Sat, 26 Aug 2017 00:07:32 +0000 (08:07 +0800)
commit09e4513c29862186ae3a84cc1fa17b719ffd90f1
tree157be98158db131171a47c599b83ca95637b2f57
parent2476469074c1d8647270d23a6c5345bb44c1f460
NVMEDevice: fix the nvme queue depth issue

We need to track the queue depth usage for each qpair to
prevent submit too many I/Os. If there are too many requests,
we need to poll the qpair, to make sure there is enough slots
for next I/O submit.

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
src/os/bluestore/NVMEDevice.cc