Re: bug with fastpoll accept and sqpoll + IOSQE_FIXED_FILE

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

 



On 02/02/2021 17:41, Pavel Begunkov wrote:
> On 02/02/2021 17:24, Jens Axboe wrote:
>> On 2/2/21 10:10 AM, Victor Stewart wrote:
>>>> Can you send the updated test app?
>>>
>>> https://gist.github.com/victorstewart/98814b65ed702c33480487c05b40eb56
>>>
>>> same link i just updated the same gist
>>
>> And how are you running it?
> 
> with SQPOLL    with    FIXED FLAG -> FAILURE: failed with error = ???
> 	-> io_uring_wait_cqe_timeout() strangely returns -1, (-EPERM??)

Ok, _io_uring_get_cqe() is just screwed twice

TL;DR
we enter into it with submit=0, do an iteration, which decrements it,
then a second iteration passes submit=-1, which is returned back by
the kernel as a result and propagated back from liburing...

-- 
Pavel Begunkov



[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