EXT4 Patch For Statx Support
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.
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.
31 Comments