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>
Thu, 21 Jul 2022 14:44:10 +0000 (08:44 -0600)
commite6eda5e30552c639daa0a0517d16959c2e71ab99
tree83baf716dbd4f6490ef9216def19cc521ae004bd
parent384a319025402df922269a6d643d59a73e89ed09
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