linux/io_uring
Pavel Begunkov 0667db14e1 io_uring: refactor io_req_complete_post()
Make io_req_complete_post() to push all IORING_SETUP_IOPOLL requests
to task_work, it's much cleaner and should normally happen. We couldn't
do it before because there was a possibility of looping in

complete_post() -> tw -> complete_post() -> ...

Also, unexport the function and inline __io_req_complete_post().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/ea19c032ace3e0dd96ac4d991a063b0188037014.1710799188.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-04-15 08:10:24 -06:00
..
2023-12-29 11:58:41 -08:00
2024-02-09 11:54:19 -07:00
2022-12-07 06:47:13 -07:00
2024-04-15 08:10:24 -06:00
2024-02-09 09:04:39 -07:00
2024-04-15 08:10:24 -06:00
2024-02-12 19:02:11 -07:00
2024-04-15 08:10:24 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2024-02-06 19:55:14 -07:00