]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: subpage: reject raid56 filesystem and profile conversion
authorQu Wenruo <wqu@suse.com>
Mon, 26 Jul 2021 06:35:01 +0000 (14:35 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:05 +0000 (13:19 +0200)
commit439a0d94bdc096032333c49948c26d667780999b
tree241e73a2565ba747556ad1128d0cd14bdd9d8699
parent1b2e0a24b216d3701a84aca5854014c4bf446670
btrfs: subpage: reject raid56 filesystem and profile conversion

RAID56 is not only unsafe due to its write-hole problem, but also has
tons of hardcoded PAGE_SIZE.

Disable it for subpage support for now.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/volumes.c