Re: [blktests] zbd/012: Test requeuing of zoned writes and queue freezing

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

 



On 11/26/24 9:49 PM, Christoph Hellwig wrote:
> On Tue, Nov 26, 2024 at 08:26:13PM +0900, Damien Le Moal wrote:
>> Note that I tried qd > 1 with libaio and everything works just fine: the test
>> passes. Things are strange only with io_uring.
> 
> It might be worth checking if it has something to do with REQ_NOWAIT
> writes and error handling for their EAGAIN case.

Yes, the issue is related to this. If I clear REQ_NOWAIT from all BIOs that go
through write plug, the problem disappears. Now trying to figure out the best
way to address this as I do not think that always clearing REQ_NOWAIT is the
best solution (plugging a BIO in a zone write plug does not block the caller...).


-- 
Damien Le Moal
Western Digital Research




[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