linux/io_uring
Pavel Begunkov 6971253f07 io_uring: revise completion_lock locking
io_kill_timeouts() doesn't post any events but queues everything to
task_work. Locking there is needed for protecting linked requests
traversing, we should grab completion_lock directly instead of using
io_cq_[un]lock helpers. Same goes for __io_req_find_next_prep().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/88e75d481a65dc295cb59722bb1cf76402d1c06b.1670002973.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-12-14 08:53:04 -07:00
..
2022-12-07 06:47:13 -07:00
2022-12-13 10:40:31 -08:00
2022-12-07 06:47:13 -07:00
2022-12-13 10:33:08 -08:00
2022-12-07 06:47:13 -07:00
2022-12-07 06:47:13 -07:00
2022-12-13 10:43:59 -08:00
2022-10-07 12:25:30 -06:00