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

Linux 3.9 Gets Btrfs RAID 5/6, Fsync Performance

Linux Kernel

Published on 02 March 2013 12:46 PM EST
Written by Michael Larabel in Linux Kernel
8 Comments

In addition to the already exciting features of the Linux 3.9 kernel, this next release will also bring several new features to the Btrfs file-system.

Chris Mason sent in the Btrfs 3.9 pull request to Linus Torvalds on Saturday morning. The most notable feature to this experimental file-system update is RAID 5 and RAID 6 support. RAID 5/6 support for Btrfs has been talked about for ages, but it's finally materialized in a state for mainline after new code appeared in early February.

While support for these RAID modes is going mainline, it's still considered experimental since Chris Mason is still working on a parity logging setup to avoid inconsistent parity after crashes. This RAID code though is being mainlined to hopefully spot any performance issues or other problems quickly in 3.9. The Btrfs scrub utility also doesn't correct RAID 5/6 errors at this time.

Aside from the new Btrfs RAID 5/6 support, there's also more work on improving the fsync performance. A change made for Linux 3.9 is to combine waiting for meta-data with waiting for data, which Chris describes as "a big latency win. It is also one step towards using atomics for the hardware during a commit."

Another update is a way to use Btrfs send/receive support to send only meta-data changes. This is particularly a change for SUSE to make Snapper more efficient at finding differences between Btrfs snapshots.

Yet another new feature for Btrfs is snapshot-aware defrag support.

Last but not least, there's a large number of fixes and clean-ups. More details can be found via the Btrfs 3.9 pull request.

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 Linux News
  1. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  2. Ubuntu's LXD vs. KVM For The Linux Cloud
  3. Fedora Server 22 Benchmarks With XFS & The Linux 4.0 Kernel
  4. GCC 6 Gets Support For The IBM z13 Mainframe Server
  5. Fedora 22 Is Being Released Next Tuesday
  6. OpenWRT 15.05 Preparing Improved Security & Better Networking
  7. Using The New LLVM/Clang OpenMP Support
  8. Zapcc Claims To Be A "Much Faster C++ Compiler"
  9. Godot 1.1 Engine Release Brings New 2D Engine
  10. Intel VA-API Driver 1.6 Is Coming
Latest Articles & Reviews
  1. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
  2. The State Of Various Firefox Features
  3. Intel Iris Graphics Performance With Mesa 10.6
  4. Fedora Workstation 22 Is Looking Great, Running Fantastic
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. AMDGPU Open-Source Driver Code Continues Maturing
  3. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  4. Oculus Rift Suspends Linux Development To Focus On Windows
  5. Microsoft Open-Sources The Windows Communication Foundation
  6. LibreOffice 5.0 Open-Source Office Suite Has Been Branched
  7. Another HTTPS Vulnerability Rattles The Internet
  8. Linux 4.1-rc4 Kernel Arrives A Day Late