> -----邮件原件----- > 发件人: Dan Shelton <dan.f.shelton@xxxxxxxxx> > 发送时间: 2024年1月17日 4:17 > 收件人: Linux NFS Mailing List <linux-nfs@xxxxxxxxxxxxxxx> > 主题: Re: [PATCH] nfsv4: Add support for the birth time attribute > > On Tue, 16 Jan 2024 at 02:43, Chuck Lever III <chuck.lever@xxxxxxxxxx> wrote: > > > > > > > > > On Jan 15, 2024, at 8:02 PM, Dan Shelton <dan.f.shelton@xxxxxxxxx> > wrote: > > > > > > On Mon, 15 Jan 2024 at 07:37, Chen Hanxiao <chenhx.fnst@xxxxxxxxxxx> > wrote: > > >> > > >> This patch enable nfs to report btime in nfs_getattr. > > >> If underlying filesystem supports "btime" timestamp, statx will > > >> report btime for STATX_BTIME. > > >> > > >> Signed-off-by: Chen Hanxiao <chenhx.fnst@xxxxxxxxxxx> > > >> --- > > >> v1: > > >> Don't revalidate btime attribute > > >> > > >> RFC v2: > > >> properly set cache validity > > >> > > >> fs/nfs/inode.c | 23 ++++++++++++++++++++--- > > >> fs/nfs/nfs4proc.c | 3 +++ > > >> fs/nfs/nfs4xdr.c | 23 +++++++++++++++++++++++ > > >> include/linux/nfs_fs.h | 2 ++ > > >> include/linux/nfs_xdr.h | 5 ++++- > > >> 5 files changed, 52 insertions(+), 4 deletions(-)# > > > > > > Hello > > > > > > Where is the patch which adds support for btime to nfsd? > > > > Support for the birth time attribute was added to NFSD two years ago > > by commit e377a3e698fb ("nfsd: Add support for the birth time > > attribute"). > > Which Linux versions (trunk, LTS, RT) have that commit? > FYI, Commit e377a3e698fb was in: 6.6 LTS [1] 6.1 LTS [2] Stable [3] RT [4] [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/nfsd/nfs4xdr.c?h=linux-6.6.y&id=e377a3e698fb56cb63f6bddbebe7da76dc37e316 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/nfsd/nfs4xdr.c?h=linux-6.1.y&id=e377a3e698fb56cb63f6bddbebe7da76dc37e316 [3] https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable/+/e377a3e698fb56cb63f6bddbebe7da76dc37e316 [4] https://kernel.googlesource.com/pub/scm/linux/kernel/git/rt/linux-rt-devel/+/e377a3e698fb56cb63f6bddbebe7da76dc37e316