On-Disk Format Changes Ahead To Improve "Painful" Parts Of Btrfs Design

Written by Michael Larabel in Linux Storage on 11 November 2021 at 09:20 AM EST. 92 Comments
LINUX STORAGE
Prominent Btrfs file-system developer Josef Bacik is working through a big set of patches that will result in on-disk format changes to Btrfs but address some of "the more painful parts" to the file-system's design.

Over the next year Josef is looking to land these changes to address locking contention on global roots and the issue of block group items being spread throughout the extent tree.

He is developing this work under the "extent-tree-v2" label and to date is around 80 patches but is just getting started. He's hoping in the next 6~12 months it will be something users can start migrating to in order to take advantage of these Btrfs design improvements.

With this work yielding on-disk format changes, users will need to convert their Btrfs file-systems to the updated format but in turn lose support for mounting the file-system on older kernels. Some users at first may also be understandably a bit nervous about altering the on-disk format, but hopefully the new version will prove to be a useful (and reliable) improvement.

More details on these improvements coming to the Btrfs file-system design can be found over on Josef's blog.
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