VOOZH about

URL: https://www.phoronix.com/news/Linux-7.2-IOmap-EXT4-XFS

⇱ Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code - Phoronix


👁 Phoronix

Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code

Written by Michael Larabel in Linux Storage on 15 June 2026 at 09:02 PM EDT. 12 Comments
In addition to the surprising impact of /proc/filesystems read optimizations for Linux 7.2, another one of the VFS pull requests for this next kernel version is delivering some nice improvements for EXT4 and XFS around IOmap, the framework that maps file data offsets in memory to their physical locations on storage.

Among the IOmap changes now merged for the Linux kernel is an optimization showing nice benefit for EXT4 and XFS when running with NVMe SSD storage and using IO_uring:
"Skip the memset of the iomap in iomap_iter() once the iteration is done. In high-IOPS scenarios (4k randread NVMe polling via io_uring) the pointless memset wasted memory write bandwidth; this improves IOPS by about 5% on ext4 and xfs."

A 5% uplift to IOPS isn't bad for such a straight forward optimization. That optimization comes from Bytedance engineer Fengnan Chang after discovering the wasted memory write bandwidth due to the caller just discarding the iterator when it's done. The 5% IOPS gain comes at moving around two lines of code.

👁 The patch


Separately, that same pull also adds the VFS infrastructure needed for implementing FS-VERITY support for XFS with a post-EOF Merkle tree, as another notable change.

Linux 7.2 continues to prove quite exciting as do most Linux kernel versions N+1.

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.