diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-06 11:02:17 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-07 14:12:43 -0700 |
commit | 1b00764f09b6912d25e188d972a7764a457926ba (patch) | |
tree | ecc1cca3718dca31022a575daf26961671959401 /fs/orangefs | |
parent | b5bb3a24f69da92e0ec2a301452364333e45be03 (diff) |
io_uring: cancel reqs of all iowq's on ring exit
io_ring_exit_work() have to cancel all requests, including those staying
in io-wq, however it tries only cancellation of current tctx, which is
NULL. If we've got task==NULL, use the ctx-to-tctx map to go over all
tctx/io-wq and try cancellations on them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/orangefs')
0 files changed, 0 insertions, 0 deletions