Btrfs RAID 5/6 Sub-Page Support Readied For Linux 5.19

Written by Michael Larabel in Linux Storage on 4 May 2022 at 06:13 AM EDT. 34 Comments
The latest Btrfs file-system work on its native RAID5/RAID6 mode is now supporting the file-system's sub-page functionality.

The Btrfs "Subpage" functionality is for handling sector sizes that are smaller than the page size, rather than traditionally the two sizes needing to be the same.

Btrfs has a lot of code around its sub-page support and needed special handling for RAID5/RAID6. That code has been under review and appears poised for introduction in Linux 5.19.

As of this past week the RAID5/6 sub-page support is ready and enabled within kdave's for-next branch ahead of the Linux 5.19 merge window opening later this month.

Enabling the RAID5/RAID6 sub-page support for Btrfs was carried out by SUSE's Qu Wenruo.

More broadly, the current state and information around Btrfs' native RAID support can be found via the Btrfs Wiki. Specifically there is also the RAID 5/6 page that does still carry the warning, "The parity RAID code has a specific issue with regard to data integrity. It should not be used for metadata. For data, it should be safe as long as a scrub is run immediately after any unclean shutdown."
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week