XFS Is Becoming Leaner While Btrfs & EXT4 Gain Weight

Written by Michael Larabel in Red Hat on 22 June 2011 at 01:43 PM EDT. 12 Comments
RED HAT
Red Hat's Eric Sandeen has written an interesting blog post concerning the size of popular Linux file-systems and their kernel modules. It turns out that the XFS file-system is losing lines of code, while maintaining the same feature-set and robustness, but the EXT4 and Btrfs file-systems continue to have a net increase in lines of code.

From Sandeen's blog post, "The XFS filesystem has taken a beating for being a big, complicated, foreign filesystem since it’s introduction, and there is no doubt that there is a fair bit of code in there. But an interesting thing happened on the way to the Linux Kernel v3.0.0 - XFS developers have steadily reduced lines of code, while other up and coming filesystems such as Ext4 and BTRFS are steadily growing in LOC and complexity. And XFS has been under constant improvement at the same time as well."

Eric also notes that the code for the XFS file-system is more well documented than Btrfs/EXT4. There's also thousands of lines of duplicate code between these file-systems. It's not too surprising though that the Btrfs file-system size is on the rise as it's still under active development and new features are continuing to be added.
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