aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfstrace.h
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2021-11-16 08:49:24 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-17 14:08:23 -0500
commit93c2e5e0a9ecfc183ab1204e1ecaa7ee7eb2a61a (patch)
tree7d2c26cafb0a09866c47304cb6b214085a8c8ec7 /fs/nfs/nfstrace.h
parentNFSv42: Don't fail clone() unless the OP_CLONE operation failed (diff)
downloadlinux-dev-93c2e5e0a9ecfc183ab1204e1ecaa7ee7eb2a61a.tar.xz
linux-dev-93c2e5e0a9ecfc183ab1204e1ecaa7ee7eb2a61a.zip
NFS: Add a tracepoint to show the results of nfs_set_cache_invalid()
This provides some insight into the client's invalidation behavior to show both when the client uses the helper, and the results of calling the helper which can vary depending on how the helper is called. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfstrace.h')
-rw-r--r--fs/nfs/nfstrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfstrace.h b/fs/nfs/nfstrace.h
index 21dac847f1e4..b3aee261801e 100644
--- a/fs/nfs/nfstrace.h
+++ b/fs/nfs/nfstrace.h
@@ -162,6 +162,7 @@ DEFINE_NFS_INODE_EVENT_DONE(nfs_writeback_inode_exit);
DEFINE_NFS_INODE_EVENT(nfs_fsync_enter);
DEFINE_NFS_INODE_EVENT_DONE(nfs_fsync_exit);
DEFINE_NFS_INODE_EVENT(nfs_access_enter);
+DEFINE_NFS_INODE_EVENT_DONE(nfs_set_cache_invalid);
TRACE_EVENT(nfs_access_exit,
TP_PROTO(