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)
commit6ad5d98361be921a2c5f92c329b683b8e078b58f
treee4d61377a62d0b08f162d85e81bfaef0f5e6039b
parent39e41a059a00bd644d06dfc72827c5d18a217769
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