[PATCH 0/2] vfs: fix delegated timestamp updates

From: Jeff Layton
Date: Tue Jul 22 2025 - 14:52:55 EST


We had been seeing some failures in the git regression testsuite when
run on NFS with delegated timestamps enabled. The first patch adds a
tracepoint that was helpful for tracking down the problem. The second
patch _mostly_ fixes the actual issue. With this, the git regression
testsuite is passing a lot more often for me, even when run in the
"stress" configuration under kdevops.

That said, I'm still seeing an occasional failure that I think may be a
problem on the client. I'll send email about that separately.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
Jeff Layton (2):
vfs: add tracepoints in inode_set_ctime_deleg
vfs: fix delegated timestamp handling in setattr_copy()

fs/attr.c | 52 +++++++++++++++++++++++++++++-----------
fs/inode.c | 5 +++-
fs/nfsd/nfs4xdr.c | 4 +---
include/trace/events/timestamp.h | 40 +++++++++++++++++++++++++++++++
4 files changed, 83 insertions(+), 18 deletions(-)
---
base-commit: bab771b8eba6f3b13446ced52751be122af0d3b7
change-id: 20250722-nfsd-testing-5e861a3cf3a0

Best regards,
--
Jeff Layton <jlayton@xxxxxxxxxx>