[PATCH 09/17] io_uring: plug for async bypass
Kanchan Joshi
joshi.k at samsung.com
Tue Mar 8 07:20:57 PST 2022
From: Jens Axboe <axboe at kernel.dk>
Enable .plug for uring-cmd.
Signed-off-by: Jens Axboe <axboe at kernel.dk>
---
fs/io_uring.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 6a1dcea0f538..f04bb497bd88 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -1106,9 +1106,11 @@ static const struct io_op_def io_op_defs[] = {
[IORING_OP_LINKAT] = {},
[IORING_OP_URING_CMD] = {
.needs_file = 1,
+ .plug = 1,
},
[IORING_OP_URING_CMD_FIXED] = {
.needs_file = 1,
+ .plug = 1,
},
};
--
2.25.1
More information about the Linux-nvme
mailing list