Re: [PATCH v2 4/5] btrfs: zoned: use the highest RAID1 write pointer on degraded mounts

From: Miroslav Cimerman

Date: Sat Nov 21 2026 - 16:19:39 EST


Sashiko's review of this patch [1] found that on a degraded mount, a
RAID1 data block group whose zones differ in their active state can be
marked active without all its zones counted, or, if it is full, left
inactive with an open zone that is never finished. That is right, but
not new in this series: the base compares the active state with stripe 0
the same way and skips the activation on degraded mounts, 1/5 only
compares with the first present stripe, and 4/5 changes it for metadata
only. The 1/5 note mentions the first case and a block group with room
left, but not the full one.

I reproduced both on the base and with this series, and sent a fix that
applies on top of this series:
https://lore.kernel.org/linux-btrfs/20261121205657.1108500-1-mc@xxxxxxxxxxx/

[1] https://sashiko.dev/#/patchset/20261121134550.216217-1-mc%40raidlab.org?part=4