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>
Wed, 11 Aug 2021 22:35:58 +0000 (16:35 -0600)
commit5685ec17c5847d14d8a830c0ee3b7bf78b351f9d
tree3ab4699e2a51ec5bd8039075de64e07e050af1be
parentff49e5982f3d9d86c4846d0304eec82831514418
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