Btrfs Gets A Big Improvement For More Robust RAID1 In Linux 5.5

Written by Michael Larabel in Linux Storage on 23 November 2019 at 12:55 PM EST. 27 Comments
LINUX STORAGE
David Sterba sent in his pull request early of the Btrfs file-system changes that are ready for merging into the Linux 5.5 merge window next week.

The biggest improvement is the Btrfs native RAID support now supporting three and four copy options for RAID1. Btrfs' RAID1 code up to now has always relied upon two copies of data while now there is support for three and four copies if desired for better data integrity. This new "RAID1C3" mode is intended as a replacement of RAID6 profile on meta-data and more resiliency against the possible failure of two drives in an array.

Besides adding this new backwards-incompatible RAID1C3/RAID1C4 modes, Btrfs in Linux 5.5 also has new checksum capabilities around per-file-system, faster hashing with xxhash, faster LSEEK that can speed up some operations by 80%, the Btrfs SEND code now allows clone operations within the same file, and a variety of code clean-ups. Various bugs have also been fixed in this code for the next Linux kernel.

The complete list of Btrfs changes queued for Linux 5.5 can be found via this pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week