]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: cancel all task's requests on exit
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Jun 2020 07:24:04 +0000 (10:24 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Jun 2020 14:51:34 +0000 (08:51 -0600)
commite3c66cbbf12caafda0d4ae73151e8fa793f45b5c
tree0b34f50ac8706d4c8d9ee801bf680ea06a27e10c
parentb951411ef82b0ebf64ebff8185064c43718ead25
io_uring: cancel all task's requests on exit

If a process is going away, io_uring_flush() will cancel only 1
request with a matching pid. Cancel all of them

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