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)
commit90df08538c07b7135703358a0c8c08d97889a704
treee4d61377a62d0b08f162d85e81bfaef0f5e6039b
parentde7f1d9e99d8b99e4e494ad8fcd91f0c4c5c9357
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