]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring: remove iopoll_queue from struct io_issue_def
authorCaleb Sander Mateos <csander@purestorage.com>
Mon, 2 Mar 2026 17:29:11 +0000 (10:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2026 22:14:14 +0000 (16:14 -0600)
commit7995be40deb3ab8b5df7bdf0621f33aa546aefa7
tree130e6e535aae06f667188a7f959b6d322f102e86
parent9165dc4fa969b64c2d4396ee4e1546a719978dd1
io_uring: remove iopoll_queue from struct io_issue_def

The opcode iopoll_queue flag is now redundant with REQ_F_IOPOLL. Only
io_{read,write}{,_fixed}() and io_uring_cmd() set the REQ_F_IOPOLL flag,
and the opcodes with these ->issue() implementations are precisely the
ones that set iopoll_queue. So don't bother checking the iopoll_queue
flag in io_issue_sqe(). Remove the unused flag from struct io_issue_def.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://patch.msgid.link/20260302172914.2488599-3-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/opdef.c
io_uring/opdef.h