[PATCH v2 0/4] nfs: client-side tracepoints for delegations and cache coherency

From: Jeff Layton
Date: Wed Jun 18 2025 - 09:19:41 EST


These patches add some tracepoints that I rolled a while back when
working on the client-side pieces of the directory delegation patchset.
I think that these are useful in their own right, even without dir
delegations.

Please consider these for v6.17.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
Changes in v2:
- add NFS4_FREED_STATEID_TYPE to match_stateid tracepoint
- Link to v1: https://lore.kernel.org/r/20250603-nfs-tracepoints-v1-0-d2615f3bbe6c@xxxxxxxxxx

---
Jeff Layton (4):
nfs: add cache_validity to the nfs_inode_event tracepoints
nfs: add a tracepoint to nfs_inode_detach_delegation_locked
nfs: new tracepoint in nfs_delegation_need_return
nfs: new tracepoint in match_stateid operation

fs/nfs/delegation.c | 4 ++
fs/nfs/nfs4proc.c | 4 ++
fs/nfs/nfs4trace.h | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/nfs/nfstrace.h | 8 +++-
4 files changed, 119 insertions(+), 2 deletions(-)
---
base-commit: 52da431bf03b5506203bca27fe14a97895c80faf
change-id: 20250603-nfs-tracepoints-034454716137

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