bdev : xNVMe BDEV module performance fix
This change fixes the lower performance issue of the xNVMe BDEV for libaio and io_uring backends. There is no drop in the performance for the io_uring passthrough backend. Signed-off-by: Krishna Kanth Reddy <krish.reddy@samsung.com> Change-Id: I21de1b49a534cfc642d1873ef623271063da6af8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14015 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
5a21d4c5b0
commit
17948bcaa9
@ -285,6 +285,7 @@ create_xnvme_bdev(const char *name, const char *filename, const char *io_mechani
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opts.direct = 1;
|
||||||
opts.async = io_mechanism;
|
opts.async = io_mechanism;
|
||||||
if (!opts.async) {
|
if (!opts.async) {
|
||||||
goto error_return;
|
goto error_return;
|
||||||
|
Loading…
Reference in New Issue
Block a user