summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-01-17 05:29:56 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-17 07:02:49 +0300
commit0b5cd6c32b14413bf87e10ee62be3162588dcbe6 (patch)
tree02e6b465ed07e8fd9bd5b3c8bb9794f90be39422 /lib
parent4325cb498cb743dacaa3edbec398c5255f476ef6 (diff)
downloadlinux-0b5cd6c32b14413bf87e10ee62be3162588dcbe6.tar.xz
io_uring: fix skipping disabling sqo on exec
If there are no requests at the time __io_uring_task_cancel() is called, tctx_inflight() returns zero and and it terminates not getting a chance to go through __io_uring_files_cancel() and do io_disable_sqo_submit(). And we absolutely want them disabled by the time cancellation ends. Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Fixes: d9d05217cb69 ("io_uring: stop SQPOLL submit on creator's death") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions