summaryrefslogtreecommitdiff
path: root/include/linux/io_uring
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-03-19 01:00:25 +0300
committerJens Axboe <axboe@kernel.dk>2024-04-15 17:10:24 +0300
commite1eef2e56cb0db143c731b1cdc220980256d2d99 (patch)
treef8cc3baae991eb9d22992f2525f49c3aa2d41acd /include/linux/io_uring
parent6edd953b6ec758c98e9dba7234634831f1f6510d (diff)
downloadlinux-e1eef2e56cb0db143c731b1cdc220980256d2d99.tar.xz
io_uring/cmd: fix tw <-> issue_flags conversion
!IO_URING_F_UNLOCKED does not translate to availability of the deferred completion infra, IO_URING_F_COMPLETE_DEFER does, that what we should pass and look for to use io_req_complete_defer() and other variants. Luckily, it's not a real problem as two wrongs actually made it right, at least as far as io_uring_cmd_work() goes. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Tested-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/aef76d34fe9410df8ecc42a14544fd76cd9d8b9e.1710799188.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring')
0 files changed, 0 insertions, 0 deletions