]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: run timeouts from task_work
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 21:11:51 +0000 (15:11 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:32 +0000 (13:10 -0600)
commitefc8f761d7d0319c40cc5236d4098d63aa2f528a
tree92639719277d12927a5e1b95225c4b7311249266
parent4c610ad69a0a892e03097d6faad671629db1b962
io_uring: run timeouts from task_work

This is in preparation to making the completion lock work outside of
hard/soft IRQ context.

Add a timeout_lock to handle the ordering of timeout completions or
cancelations with the timeouts actually triggering.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c