summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4trace.h
diff options
context:
space:
mode:
authorTrond Myklebust2015-08-20 22:40:47 +0200
committerTrond Myklebust2015-08-25 20:40:05 +0200
commit6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab (patch)
tree47129f109a6bbf96490f258e7c147624f25b3c70 /fs/nfs/nfs4trace.h
parentNFSv4: Force a post-op attribute update when holding a delegation (diff)
downloadkernel-qcow2-linux-6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab.tar.gz
kernel-qcow2-linux-6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab.tar.xz
kernel-qcow2-linux-6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab.zip
NFSv4.1/pnfs: Add a tracepoint for return-on-close events
Allow tracing of return-on-close. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4trace.h')
-rw-r--r--fs/nfs/nfs4trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h
index 470af1a78bec..0b67f7825d00 100644
--- a/fs/nfs/nfs4trace.h
+++ b/fs/nfs/nfs4trace.h
@@ -1136,6 +1136,7 @@ TRACE_EVENT(nfs4_layoutget,
DEFINE_NFS4_INODE_EVENT(nfs4_layoutcommit);
DEFINE_NFS4_INODE_EVENT(nfs4_layoutreturn);
+DEFINE_NFS4_INODE_EVENT(nfs4_layoutreturn_on_close);
#endif /* CONFIG_NFS_V4_1 */