btrfs: warn about RAID5/6 being experimental at mount time
authorAdam Borowski <kilobyte@angband.pl>
Tue, 28 Mar 2017 14:55:05 +0000 (16:55 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 12 May 2023 04:08:40 +0000 (05:08 +0100)
commit7d71d13a9440400a9ac5670172668d0b8443c64f
tree04a786373fed57f065ac12382616ea773b84d257
parent18d90d0f71549fd7c842a95dd86fc13b54cd1a3f
btrfs: warn about RAID5/6 being experimental at mount time

Bug-Debian: https://bugs.debian.org/863290
Origin: https://bugs.debian.org/863290#5

Too many people come complaining about losing their data -- and indeed,
there's no warning outside a wiki and the mailing list tribal knowledge.
Message severity chosen for consistency with XFS -- "alert" makes dmesg
produce nice red background which should get the point across.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
[bwh: Also add_taint() so this is flagged in bug reports]

Gbp-Pq: Topic debian
Gbp-Pq: Name btrfs-warn-about-raid5-6-being-experimental-at-mount.patch
fs/btrfs/disk-io.c