[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZcvyDnUoC3PvV+p8@dread.disaster.area>
Date: Wed, 14 Feb 2024 09:49:50 +1100
From: Dave Chinner <david@...morbit.com>
To: John Garry <john.g.garry@...cle.com>
Cc: "Ritesh Harjani (IBM)" <ritesh.list@...il.com>, hch@....de,
djwong@...nel.org, viro@...iv.linux.org.uk, brauner@...nel.org,
dchinner@...hat.com, jack@...e.cz, chandan.babu@...cle.com,
martin.petersen@...cle.com, linux-kernel@...r.kernel.org,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
tytso@....edu, jbongio@...gle.com, ojaswin@...ux.ibm.com
Subject: Re: [PATCH 0/6] block atomic writes for XFS
On Tue, Feb 13, 2024 at 08:41:10AM +0000, John Garry wrote:
> On 13/02/2024 07:45, Ritesh Harjani (IBM) wrote:
> > John Garry <john.g.garry@...cle.com> writes:
>
> 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.
-Dave.
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists