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>
Thu, 12 Aug 2021 17:22:57 +0000 (11:22 -0600)
commit48ecb6369f1f290ab3ff7412d14074b83123634b
treeaf0aa12cbe41badbfc22b63176069501473b172a
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