diff options
Diffstat (limited to 'src/blk/kernel/KernelDevice.cc')
-rw-r--r-- | src/blk/kernel/KernelDevice.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blk/kernel/KernelDevice.cc b/src/blk/kernel/KernelDevice.cc index 58142b3c106..e3ef9f155d8 100644 --- a/src/blk/kernel/KernelDevice.cc +++ b/src/blk/kernel/KernelDevice.cc @@ -70,7 +70,9 @@ KernelDevice::KernelDevice(CephContext* cct, aio_callback_t cb, void *cbpriv, ai unsigned int iodepth = cct->_conf->bdev_aio_max_queue_depth; if (use_ioring && ioring_queue_t::supported()) { - io_queue = std::make_unique<ioring_queue_t>(iodepth); + bool use_ioring_hipri = cct->_conf.get_val<bool>("bdev_ioring_hipri"); + bool use_ioring_sqthread_poll = cct->_conf.get_val<bool>("bdev_ioring_sqthread_poll"); + io_queue = std::make_unique<ioring_queue_t>(iodepth, use_ioring_hipri, use_ioring_sqthread_poll); } else { static bool once; if (use_ioring && !once) { |