Re: [PATCH 01/19] btrfs: require at least 4 devices for RAID 6

From
Christoph Hellwig <hch@lst.de>
Date
2026-05-15 04:37:23
Also in
linux-arch, linux-arm-kernel, linux-btrfs, linux-crypto, linux-raid, linux-riscv, linux-s390, lkml, loongarch
Reply to
Goffredo Baroncelli, 2026-05-14
On Thu, May 14, 2026 at 09:51:59PM +0200, Goffredo Baroncelli wrote:
I think that the David concern is : "what happens for an already
existing btrfs raid6 3 disks filesystem when the user upgrade the kernel ?"
(I am thinking when a new BG needs to be allocated)...
Then it will cleanly fail to mount instead of constantly corrupting data
and memory with every write, yes.  Which clearly suggest that such
file systems don't exist in the wild.

But if btrfs wants to keep supporting this I'll just add a _unsafe
version without the check in the core library.
Thread (37 messages) 37 messages, 10 authors, last reply 2026-06-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help