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/28/24 14:21, Christoph Hellwig wrote:
> On Thu, Nov 28, 2024 at 02:19:23PM +0900, Damien Le Moal wrote:
>> Sounds good. What do you think of adding the opportunistic "update zone wp"
>> whenever we execute a user report zones ? It is very easy to do and should not
>> slow down significantly report zones itself because we usually have very zone
>> write plugs and the hash search is fast.
> 
> Just user or any report zones?  But I think updating it is probably a
> good thing.  When the zone state is requested there is no excuse to
> not have the write plug information in sync

All report zones. That would cover things like an FS mkfs report zones putting
everything in sync and an FS or dm-zoned doing a report zones after a write
error syncing single zones.

To do that, all that is needed is a default report zones callback that syncs
write plugs that have the "need update" flag and then call the user specified
report zones callback.

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