lkml.org 
[lkml]   [2024]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 0/6] block atomic writes for XFS
From
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

\
 
 \ /
  Last update: 2024-05-27 15:02    [W:1.177 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site