1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

XFS Is Becoming Leaner While Btrfs & EXT4 Gain Weight

Red Hat

Published on 22 June 2011 01:43 PM EDT
Written by Michael Larabel in Red Hat
12 Comments

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.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. The Difference In Optimizations Between NIR & GLSL
  2. OpenMandriva Lx 3 Alpha: Adds UEFI Support, Defaults To LXQt
  3. Systemd Kills Off Shutdownd
  4. There's Now More Than 1,100 Games On Steam For Linux
  5. Btrfs In Linux 4.1 Has Fixes For File-Systems Of 20 Terabytes & Up
  6. Microsoft's CoreCLR Now Works On FreeBSD
  7. Unigine 2.0 Beta 2 Brings PBR, SSR, Kinect 2 Support
  8. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
  9. The State Of The Lima/Tamil Driver Code
  10. The New Linux Performance Test Lab Is Already Being Expanded
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. EXT4 In Linux 4.1 Adds File-System Level Encryption
  3. AMD Open-Sources "Addrlib" From Catalyst
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. Library Operating System (LibOS) For Linux Still Being Pursued
  6. Red Hat Joins Khronos, The Group Behind OpenGL & Vulkan
  7. Linux-Powered Endless Computer Raises $100k+ In A Few Days
  8. Features Thus Far For The Linux 4.1 Kernel