linux/io_uring
Pavel Begunkov df9830d883 io_uring: rw: delegate sync completions to core io_uring
io_issue_sqe() from the io_uring core knows how to complete requests
based on the returned error code, we can delegate io_read()/io_write()
completion to it. Make kiocb_done() to return the right completion
code and propagate it.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/32ef005b45d23bf6b5e6837740dc0331bb051bd4.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-07-24 18:39:13 -06:00
..
advise.c io_uring: split out fadvise/madvise operations 2022-07-24 18:39:11 -06:00
advise.h io_uring: split out fadvise/madvise operations 2022-07-24 18:39:11 -06:00
cancel.c io_uring: move cancelation into its own file 2022-07-24 18:39:12 -06:00
cancel.h io_uring: move cancelation into its own file 2022-07-24 18:39:12 -06:00
epoll.c io_uring: deprecate epoll_ctl support 2022-07-24 18:39:12 -06:00
epoll.h io_uring: move epoll handler to its own file 2022-07-24 18:39:11 -06:00
fdinfo.c io_uring: move fdinfo helpers to its own file 2022-07-24 18:39:12 -06:00
fdinfo.h io_uring: move fdinfo helpers to its own file 2022-07-24 18:39:12 -06:00
filetable.c io_uring: move remaining file table manipulation to filetable.c 2022-07-24 18:39:12 -06:00
filetable.h io_uring: move remaining file table manipulation to filetable.c 2022-07-24 18:39:12 -06:00
fs.c io_uring: split out filesystem related operations 2022-07-24 18:39:11 -06:00
fs.h io_uring: split out filesystem related operations 2022-07-24 18:39:11 -06:00
io_uring_types.h io_uring: refactor ctx slow data placement 2022-07-24 18:39:12 -06:00
io_uring.c io_uring: remove unused IO_REQ_CACHE_SIZE defined 2022-07-24 18:39:13 -06:00
io_uring.h io_uring: move small helpers to headers 2022-07-24 18:39:13 -06:00
io-wq.c io_uring: move to separate directory 2022-07-24 18:39:10 -06:00
io-wq.h io_uring: explain io_wq_work::cancel_seq placement 2022-07-24 18:39:13 -06:00
kbuf.c io_uring: split provided buffers handling into its own file 2022-07-24 18:39:12 -06:00
kbuf.h io_uring: split provided buffers handling into its own file 2022-07-24 18:39:12 -06:00
Makefile io_uring: move opcode table to opdef.c 2022-07-24 18:39:12 -06:00
msg_ring.c io_uring: move msg_ring into its own file 2022-07-24 18:39:12 -06:00
msg_ring.h io_uring: move msg_ring into its own file 2022-07-24 18:39:12 -06:00
net.c io_uring: split provided buffers handling into its own file 2022-07-24 18:39:12 -06:00
net.h io_uring: split network related opcodes into its own file 2022-07-24 18:39:11 -06:00
nop.c io_uring: move nop into its own file 2022-07-24 18:39:11 -06:00
nop.h io_uring: move nop into its own file 2022-07-24 18:39:11 -06:00
opdef.c io_uring: move opcode table to opdef.c 2022-07-24 18:39:12 -06:00
opdef.h io_uring: move opcode table to opdef.c 2022-07-24 18:39:12 -06:00
openclose.c io_uring: move rsrc related data, core, and commands 2022-07-24 18:39:12 -06:00
openclose.h io_uring: split out open/close operations 2022-07-24 18:39:11 -06:00
poll.c io_uring: add support for level triggered poll 2022-07-24 18:39:12 -06:00
poll.h io_uring: move poll handling into its own file 2022-07-24 18:39:12 -06:00
refs.h io_uring: move our reference counting into a header 2022-07-24 18:39:12 -06:00
rsrc.c io_uring: make reg buf init consistent 2022-07-24 18:39:12 -06:00
rsrc.h io_uring: move rsrc related data, core, and commands 2022-07-24 18:39:12 -06:00
rw.c io_uring: rw: delegate sync completions to core io_uring 2022-07-24 18:39:13 -06:00
rw.h io_uring: move read/write related opcodes to its own file 2022-07-24 18:39:12 -06:00
splice.c io_uring: split out splice related operations 2022-07-24 18:39:11 -06:00
splice.h io_uring: split out splice related operations 2022-07-24 18:39:11 -06:00
sqpoll.c io_uring: move SQPOLL related handling into its own file 2022-07-24 18:39:12 -06:00
sqpoll.h io_uring: move SQPOLL related handling into its own file 2022-07-24 18:39:12 -06:00
statx.c io_uring: move statx handling to its own file 2022-07-24 18:39:11 -06:00
statx.h io_uring: move statx handling to its own file 2022-07-24 18:39:11 -06:00
sync.c io_uring: split out fs related sync/fallocate functions 2022-07-24 18:39:11 -06:00
sync.h io_uring: split out fs related sync/fallocate functions 2022-07-24 18:39:11 -06:00
tctx.c io_uring: inline ->registered_rings 2022-07-24 18:39:13 -06:00
tctx.h io_uring: inline ->registered_rings 2022-07-24 18:39:13 -06:00
timeout.c io_uring: move cancelation into its own file 2022-07-24 18:39:12 -06:00
timeout.h io_uring: move timeout opcodes and handling into its own file 2022-07-24 18:39:12 -06:00
uring_cmd.c io_uring: move uring_cmd handling to its own file 2022-07-24 18:39:11 -06:00
uring_cmd.h io_uring: move uring_cmd handling to its own file 2022-07-24 18:39:11 -06:00
xattr.c io_uring: move xattr related opcodes to its own file 2022-07-24 18:39:11 -06:00
xattr.h io_uring: move xattr related opcodes to its own file 2022-07-24 18:39:11 -06:00