On 13/02/2024 22:49, Dave Chinner wrote:
Does xfs_io have a statx function?
Yes, it's right there in the man page:
statx [ -v|-r ][ -m basic | -m all | -m <mask> ][ -FD ]
Selected statistics from stat(2) and the XFS_IOC_GETXATTR system call on the current file.
-v Show timestamps.
-r Dump raw statx structure values.
-m basic
Set the field mask for the statx call to STATX_BASIC_STATS.
-m all
Set the the field mask for the statx call to STATX_ALL (default).
-m <mask>
Specify a numeric field mask for the statx call.
-F Force the attributes to be synced with the server.
-D Don't sync attributes with the server.
ok, I can check that out and look to add any support required for atomic
writes extension.
Thanks,
John