linux/io_uring
Pavel Begunkov 5e3afe580a io_uring: fix poll_remove stalled req completion
Taking the ctx lock is not enough to use the deferred request completion
infrastructure, it'll get queued into the list but no one would expect
it there, so it will sit there until next io_submit_flush_completions().
It's hard to care about the cancellation path, so complete it via tw.

Fixes: ef7dfac51d8ed ("io_uring/poll: serialize poll linked timer start with poll removal")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c446740bc16858f8a2a8dcdce899812f21d15f23.1710514702.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-03-15 09:36:56 -06:00
..
2023-12-29 11:58:41 -08:00
2024-03-13 14:50:42 -06:00
2024-03-13 14:50:42 -06:00
2024-02-09 11:54:19 -07:00
2022-12-07 06:47:13 -07:00
2024-03-11 11:35:31 -07:00
2024-02-09 09:04:39 -07:00
2024-02-12 19:02:11 -07:00
2023-08-11 10:42:57 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2024-02-12 19:02:11 -07:00
2024-02-06 19:55:14 -07:00