Re: v6.17-rc3: zbd/009 hangs

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

 



On Aug 25, 2025 / 09:10, Bart Van Assche wrote:
> Hi,
> 
> If I run blktests test zbd/009 on top of Jens' for-next branch
> (commit 6763582c1263 ("Merge branch 'block-6.17' into for-next")) then
> the test triggers a hang in btrfs_writepages(). The same test zbd/009
> passes with older kernel versions (v6.16 and before). Other ZBD tests
> pass with the same kernel. Could this indicate a BTRFS regression?

I hit the hang also, and identified the trigger commit 04147d8394e8 ("btrfs:
zoned: limit active zones to max_open_zones"), which is in the kernel tag
v6.17-rc3. Zoned btrfs requires max active zones limit of zoned block devices
to be at least 11 or greater. The commit applies the same requirement to
max_open_zones also. On the other hand, the default max_open_zones limit of
scsi_debug is 8. Hence the requirement is not met, and resulted in the hang.

On the blktests side, I will post a patch soon to set max_open_zones limit
larger than 11. I expect the limitation of zoned-btrfs to be checked by mkfs or
mount to avoid confusions.




[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