aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-03-06 11:02:17 +0000
committerJens Axboe <[email protected]>2021-03-07 14:12:43 -0700
commit1b00764f09b6912d25e188d972a7764a457926ba (patch)
treeecc1cca3718dca31022a575daf26961671959401 /lib/mpi/mpiutil.c
parentb5bb3a24f69da92e0ec2a301452364333e45be03 (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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions