io_uring: kill REQ_F_COMPLETE_INLINE
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jun 2022 09:21:58 +0000 (10:21 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:30:59 +0000 (11:30 -0600)
commit4b75d0a3159e5b4f63c0c168c4e97040ef43ec4f
tree40b904db5e8524cdd4db02815328a6a63c3ea4f6
parent9ff2abb01fc54d6423cd92428da4b1ce0bc6a73f
io_uring: kill REQ_F_COMPLETE_INLINE

REQ_F_COMPLETE_INLINE is only needed to delay queueing into the
completion list to io_queue_sqe() as __io_req_complete() is inlined and
we don't want to bloat the kernel.

As now we complete in a more centralised fashion in io_issue_sqe() we
can get rid of the flag and queue to the list directly.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/600ba20a9338b8a39b249b23d3d177803613dde4.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/io_uring_types.h