]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix OP_ASYNC_CANCEL across tasks
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 12 Mar 2021 16:25:55 +0000 (16:25 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 16:42:56 +0000 (09:42 -0700)
commit876786433afb63bbb28521eec7ee5e0548a72331
treecd211fc27afd2ab9be6ce2cded3b03147bdbd8f3
parent8b3b7dae0c265477510690fd5ee239879c97f4ec
io_uring: fix OP_ASYNC_CANCEL across tasks

IORING_OP_ASYNC_CANCEL tries io-wq cancellation only for current task.
If it fails go over tctx_list and try it out for every single tctx.

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