Re: [PATCH v3 0/3] NFS Client btime support

Jeff Layton
2025-05-29T11:06:11Z

On Thu, 2025-05-29 at 06:45 -0400, Benjamin Coddington wrote:
> We're getting requests to allow the client to support btime, current kNFSD
> already supports this for compatible filesystems.
>
> I've rebased and worked the first three patches from
> https://lore.kernel.org/linux-nfs/20211227190504.309612-1-trondmy@kernel.org/
> onto v6.14, and I've been driving them around bakeathon without any signs
> of trouble yet this week.
>
> Thanks Trond and Anne for this (years-ago) work.
>
> v2 - fix unnecessary cast to printk
> v3 - drop hunk unrolling INVALID_ATTR on 2/3, add BTIME to INVALID_ATTR
>
> Anne Marie Merritt (1):
> nfs: Add timecreate to nfs inode
>
> Trond Myklebust (2):
> Expand the type of nfs_fattr->valid
> NFS: Return the file btime in the statx results when appropriate
>
> fs/nfs/inode.c | 34 +++++++++++++++++++----
> fs/nfs/nfs4proc.c | 14 +++++++++-
> fs/nfs/nfs4trace.h | 3 ++-
> fs/nfs/nfs4xdr.c | 24 +++++++++++++++++
> fs/nfs/nfstrace.h | 3 ++-
> include/linux/nfs_fs.h | 8 ++++++
> include/linux/nfs_fs_sb.h | 2 +-
> include/linux/nfs_xdr.h | 57 ++++++++++++++++++++-------------------
> 8 files changed, 109 insertions(+), 36 deletions(-)

Reviewed-by: Jeff Layton <jlayton@kernel.org>