Messages in this thread | | | Date | Wed, 14 Feb 2024 10:10:16 +0000 | Subject | Re: [PATCH 0/6] block atomic writes for XFS | From | John Garry <> |
| |
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
| |