On 1/16/21 7:29 PM, Pavel Begunkov wrote: > 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. Thanks, that looks much better! Applied. -- Jens Axboe