]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: cancel more aggressively in exit_work
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 4 Jan 2021 20:43:30 +0000 (20:43 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Jan 2021 22:22:51 +0000 (15:22 -0700)
commit97c49006fc5696920e709b23a7999aa20dcbdbe6
treee4d61377a62d0b08f162d85e81bfaef0f5e6039b
parent08d63093ca51ce697a9987510950b7d9fbf181a3
io_uring: cancel more aggressively in exit_work

While io_ring_exit_work() is running new requests of all sorts may be
issued, so it should do a bit more to cancel them, otherwise they may
just get stuck. e.g. in io-wq, in poll lists, etc.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c