io_uring: never defer-complete multi-apoll
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 16:33:54 +0000 (17:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:30:59 +0000 (11:30 -0600)
commit9bbc74fd432c5a11fbc145d56b602901efa7e7db
tree334794ec6cf5be8633018bf4761f76157c9be649
parent607556b847ae3d9e3f207d7e9790be54d8188e14
io_uring: never defer-complete multi-apoll

Luckily, nnobody completes multi-apoll requests outside the polling
functions, but don't set IO_URING_F_COMPLETE_DEFER in any case as
there is nobody who is catching REQ_F_COMPLETE_INLINE, and so will leak
requests if used.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a65ed3f5effd9321ee06e6edea294a03be3e15a0.1655310733.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c