Re: [PATCH 1/1] io_uring: mitigate unlikely iopoll lag

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

 



On 7/8/21 6:37 AM, Pavel Begunkov wrote:
> We have requests like IORING_OP_FILES_UPDATE that don't go through
> ->iopoll_list but get completed in place under ->uring_lock, and so
> after dropping the lock io_iopoll_check() should expect that some CQEs
> might have get completed in a meanwhile.
> 
> Currently such events won't be accounted in @nr_events, and the loop
> will continue to poll even if there is enough of CQEs. It shouldn't be a
> problem as it's not likely to happen and so, but not nice either. Just
> return earlier in this case, it should be enough.

Applied, thanks.

-- 
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