Thread (3 messages) 3 messages, 3 authors, 2025-08-26

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

From: Shinichiro Kawasaki <hidden>
Date: 2025-08-26 00:11:52
Also in: linux-btrfs

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help