mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
bluestore/NVMEDevice: remove mm_pause according to the example givn by
spdk. Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com> Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
This commit is contained in:
parent
90bd1961cc
commit
cc4596803c
@ -474,10 +474,7 @@ void SharedDriverQueueData::_aio_thread()
|
||||
again:
|
||||
dout(40) << __func__ << " polling" << dendl;
|
||||
if (inflight) {
|
||||
if (!spdk_nvme_qpair_process_completions(qpair, g_conf->bluestore_spdk_max_io_completion)) {
|
||||
dout(30) << __func__ << " idle, have a pause" << dendl;
|
||||
_mm_pause();
|
||||
}
|
||||
spdk_nvme_qpair_process_completions(qpair, g_conf->bluestore_spdk_max_io_completion);
|
||||
}
|
||||
|
||||
for (; t; t = t->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user