EXT4 Patch For Statx Support

Written by Michael Larabel in Linux Storage on 16 March 2017 at 09:10 AM EDT. 31 Comments
LINUX STORAGE
The statx system call was added to Linux 4.11 for providing enhanced file stats. While the statx() system call is in place for Linux 4.11, not all of the file-systems yet support it.

David Howells of Red Hat has posted a patch today adding statx support to EXT4. Only about three dozen lines of code were needed for adding the statx support. It includes support for statx's "birth time" (file creation time) by reporting the inode creation time. There is also some mapping of some flags to the statx attribute flags.

The patch can be found on the mailing list and hopefully for Linux 4.12 we'll see more file-system support for the extended capabilities of statx.
Related News
About The Author
Michael Larabel

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.

Popular News This Week