Centos-kernel-stream-9/io_uring
Ming Lei 91b1ab8924 io_uring/cmd: fix tw <-> issue_flags conversion
JIRA: https://issues.redhat.com/browse/RHEL-56837

commit e1eef2e56cb0db143c731b1cdc220980256d2d99
Author: Pavel Begunkov <asml.silence@gmail.com>
Date:   Mon Mar 18 22:00:25 2024 +0000

    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>

Signed-off-by: Ming Lei <ming.lei@redhat.com>
2024-09-27 11:19:16 +08:00
..
Makefile io_uring/register: move io_uring_register(2) related code to register.c 2024-07-02 14:33:36 -04:00
advise.c
advise.h
alloc_cache.h io_uring/rsrc: consolidate node caching 2023-11-02 15:31:32 -04:00
cancel.c io_uring: add support for futex wake and wait 2024-07-02 09:50:34 -04:00
cancel.h io_uring: add support for futex wake and wait 2024-07-02 09:50:34 -04:00
epoll.c
epoll.h
fdinfo.c io_uring/fdinfo: remove need for sqpoll lock for thread/pid retrieval 2024-02-01 12:04:14 -05:00
fdinfo.h
filetable.c io_uring: drop any code related to SCM_RIGHTS 2024-05-15 13:58:17 -04:00
filetable.h io_uring: expand main struct io_kiocb flags to 64-bits 2024-07-02 14:33:37 -04:00
fs.c io_uring/fs: consider link->flags when getting path for LINKAT 2024-02-01 12:05:14 -05:00
fs.h
futex.c io_uring/futex: always remove futex entry for cancel all 2024-07-02 14:33:38 -04:00
futex.h io_uring: add support for vectored futex waits 2024-07-02 09:51:34 -04:00
io-wq.c io_uring/io-wq: Use set_bit() and test_bit() at worker->flags 2024-07-26 17:06:38 -04:00
io-wq.h io_uring: break out of iowq iopoll on teardown 2023-11-02 17:26:27 -04:00
io_uring.c io_uring/cmd: move io_uring_try_cancel_uring_cmd() 2024-09-27 11:19:16 +08:00
io_uring.h io_uring/cmd: move io_uring_try_cancel_uring_cmd() 2024-09-27 11:19:16 +08:00
kbuf.c io_uring/kbuf: hold io_buffer_list reference over mmap 2024-07-02 14:33:40 -04:00
kbuf.h io_uring/kbuf: hold io_buffer_list reference over mmap 2024-07-02 14:33:40 -04:00
msg_ring.c io_uring: use io_file_from_index in io_msg_grab_file 2023-11-02 15:31:55 -04:00
msg_ring.h
net.c io_uring/net: ensure async prep handlers always initialize ->done_io 2024-07-02 14:33:42 -04:00
net.h
nop.c io_uring: fail NOP if non-zero op flags is passed in 2024-07-02 14:33:40 -04:00
nop.h
notif.c io_uring/notif: add constant for ubuf_info flags 2023-11-02 15:31:32 -04:00
notif.h io_uring/notif: add constant for ubuf_info flags 2023-11-02 15:31:32 -04:00
opdef.c io_uring: enable audit and restrict cred override for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:37 -04:00
opdef.h io_uring/rw: mark readv/writev as vectored in the opcode definition 2024-07-02 09:41:34 -04:00
openclose.c io_uring: enable audit and restrict cred override for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:37 -04:00
openclose.h io_uring/openclose: add support for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:35 -04:00
poll.c io_uring: fix poll_remove stalled req completion 2024-07-02 14:33:41 -04:00
poll.h io_uring/rw: ensure poll based multishot read retries appropriately 2024-07-02 14:33:37 -04:00
refs.h
register.c io_uring/register: guard compat syscall with CONFIG_COMPAT 2024-07-02 14:33:36 -04:00
register.h io_uring/register: move io_uring_register(2) related code to register.c 2024-07-02 14:33:36 -04:00
rsrc.c mm/gup: remove vmas parameter from pin_user_pages() 2024-09-05 20:35:37 -04:00
rsrc.h io_uring/rsrc: improve code generation for fixed file assignment 2024-07-02 14:33:36 -04:00
rw.c fs: Initial atomic write support 2024-09-27 11:19:09 +08:00
rw.h io_uring/rw: add separate prep handler for fixed read/write 2024-07-02 10:07:34 -04:00
slist.h
splice.c io_uring/splice: use fput() directly 2023-11-02 17:26:24 -04:00
splice.h
sqpoll.c io_uring/sqpoll: work around a potential audit memory leak 2024-07-26 17:07:19 -04:00
sqpoll.h io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used 2023-11-02 17:26:25 -04:00
statx.c
statx.h
sync.c
sync.h
tctx.c io_uring: Add io_uring_setup flag to pre-register ring fd and never install it 2023-11-02 15:31:53 -04:00
tctx.h
timeout.c io_uring: never overflow io_aux_cqe 2023-11-02 17:26:25 -04:00
timeout.h
uring_cmd.c io_uring/cmd: fix tw <-> issue_flags conversion 2024-09-27 11:19:16 +08:00
uring_cmd.h io_uring/cmd: move io_uring_try_cancel_uring_cmd() 2024-09-27 11:19:16 +08:00
waitid.c io_uring/waitid: always remove waitid entry for cancel all 2024-07-02 14:33:38 -04:00
waitid.h io_uring: add IORING_OP_WAITID support 2024-07-02 09:47:34 -04:00
xattr.c
xattr.h