Does Linux-6.12 have the missing dev = single/degraded chunk bug?
Hi,
I've started to review documentation of old bugs and workarounds for the upcoming Debian 13 (Trixie) release, and I'm wondering what the state of the single/degraded chunk bug is for Linux-6.12.
Specifically, I seem to remember that the users/sysadmins had to resolve a raid1 with a missing device the next time the system rebooted. So the reproducer was:
1. Device disappears.
2. Reboot occurs.
3. Sysadmin doesn't notice degraded raid1 (or raid10), and btrfs writes profile=single chunks.
4. System reboots a second time.
5. The btrfs volume is now permanently read-only.
I vaguely remember that profile=degraded chunks may have been introduced some time between 2022 and now. Does this mean state #5 no longer occurs, because profile=degraded chunks are written at state #3, and that a sysadmin can simply add a new device and rebalance?
I also seem to remember that there's a "mount -o degraded" state, and that it's not automatic, but I can't remember if it's a state that can be recovered from with a device add and rebalance.
Finally, are raid1, raid10, and raid1c3 and raid1c4 all comparably mature at this point? Particularly with respect to this old and surprising "gotcha"?
Kind regards,
Nicholas