Re: [PATCH 1/2] io_uring : correct timeout req sequence when waiting timeout

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

 



On 10/23/19 1:10 AM, zhangyi (F) wrote:
> The sequence number of reqs on the timeout_list before the timeout req
> should be adjusted in io_timeout_fn(), because the current timeout req
> will consumes a slot in the cq_ring and cq_tail pointer will be
> increased, otherwise other timeout reqs may return in advance without
> waiting for enough wait_nr.

Thanks, applied both patches. Will run them through some extra testing
tomorrow, but looks good so far.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux