Re: [PATCH 5.12] io_uring: cancel SQPOLL reqs acress exec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/7/21 3:34 PM, Pavel Begunkov wrote:
> For SQPOLL rings tctx_inflight() always returns zero, so it might skip
> doing full cancellion. It's fine because we jam all sqpoll submissions
> in any case and do go through files cancel for them, but not nice.
> 
> Do the intended full cancellation, by mimicing __io_uring_task_cancel()
> waiting but impersonating SQPOLL task.

LGTM, applied.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux