Re: [PATCH 2/2] xfs_io: make statx mask parsing more generally useful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 21, 2025 at 11:21:06PM -0700, Christoph Hellwig wrote:
> On Tue, Apr 15, 2025 at 10:22:51PM -0700, Darrick J. Wong wrote:
> > From: Darrick J. Wong <djwong@xxxxxxxxxx>
> > 
> > Enhance the statx -m parsing to be more useful:
> 
> Btw, -m claims to set STATX_ALL, which the kernel deprecated soon after
> adding it:
> 
>  * This is deprecated, and shall remain the same value in the future. To avoid
>  * confusion please use the equivalent (STATX_BASIC_STATS | STATX_BTIME)
>  * instead.
> 
> do we need to do something about the -m definition in xfs_io because
> all fields aren't included in STATX_ALL?

Hrm.  Nothing in fstests uses it AFAICT so maybe we could just get rid
of the -m option.  Or we could redefine "all" to map to ~1U so it
actually does what that word means?

--D




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux