Btrfs Gets New Features In Linux 3.7

Posted by Michael Larabel on October 10, 2012

Chris Mason sent in a large Btrfs file-system pull request for the Linux 3.7 kernel.

Key changes for Btrfs in Linux 3.7 include hole punching, send/receive fixes, improved fsync performance, and a disk format extension that allows more hard-links inside a single directory.

Hole punching in file-systems comes down to marking a portion of a file as being unneeded and the associated storage to that file portion can then be relieved. Hole punching was previously added to the Linux kernel as a standard interface and has been implemented by XFS and others, while now Btrfs can too punch a hole in a file.

The improved fsync performance is also very significant. Chris Mason's "turbo charge fsync" patch for Btrfs indicates some mighty impressive performance improvements when using the file syncing operation extensively.

For increasing the single directory hard-link limit, a btrfs-progs patch is currently needed to enable the compat bit for the feature.

Chris Mason is also working on some new Btrfs RAID code, but it's not part of this current Btrfs pull request for the Linux 3.7 merge window.

The 3.7 Btrfs pull request can be found on the kernel mailing list. New Btrfs file-system benchmarks against XFS, EXT4, and even Reiser4 are forthcoming on Phoronix.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. OpenMandriva Goes Into Alpha Form, Russian-Based
  3. NVIDIA Brings Their Linux Driver To ARM
  4. D Language Still Showing Promise, Advancements
  5. Planetary Annihilation Released For Linux Gamers
  6. Gentoo Starts Work On KDE-Wayland Support
  7. NVIDIA To License Its Kepler GPU Technology
  8. KDE's KWin Made Lots Of Progress In 4.11
  9. Ubuntu Announces Carrier Advisory Group
  10. Qt 5.1 Release Candidate 1 Has Arrived
  11. In-Fighting Continues Over Mir On Non-Unity Ubuntu
Latest Forum Talk
  1. OpenMandriva Goes Into Alpha Form, Russian-Based
  2. D Language Still Showing Promise, Advancements
  3. Gentoo Starts Work On KDE-Wayland Support
  4. NVIDIA Driver Soon Likely To Support EGL, Mir
  5. NVIDIA Brings Their Linux Driver To ARM
  6. Ubuntu Announces Carrier Advisory Group
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite