aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/io_uring/cancel.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-16 10:21:57 +0100
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:13 -0600
commitdf9830d883b914296beb17e4f75017faac9c4312 (patch)
tree6a3a52248aa8b8796ce3eba7665c88e15954aa34 /io_uring/cancel.c
parentio_uring: remove unused IO_REQ_CACHE_SIZE defined (diff)
downloadwireguard-linux-df9830d883b914296beb17e4f75017faac9c4312.tar.xz
wireguard-linux-df9830d883b914296beb17e4f75017faac9c4312.zip
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>
Diffstat (limited to 'io_uring/cancel.c')
0 files changed, 0 insertions, 0 deletions