XFS In Linux 4.12 Adds GETFSMAP Support
Written by Michael Larabel in Linux Storage on 7 May 2017 at 07:26 AM EDT. 3 Comments
The XFS file-system changes have been submitted for Linux 4.12 and includes one main feature change.

The prominent new feature for XFS in Linux 4.12 is support for the GETFSMAP ioctl. This new ioctl has been under discussion since last year's Linux Storage summit and is the first Linux file-system seeing mainline support for it. GETFSMAP is used for returning all known space mapping details for that file-system.

In terms of its use-case as described in earlier versions of the GETFSMAP patches, "Space mapping information can be dumped via the xfs_io 'fsmap' command, and the upcoming xfs_spaceman utility analyzes the free extent data to produce free space fragmentations reports. Further in the future, the xfs_scrub utility will use GETFSMAP to assist in data block read verification."

Besides GETFSMAP support, XFS in Linux 4.12 has a number of fixes, code clean-ups, some code refactoring, and other changes. More details via this pull request.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week