diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-20 15:40:47 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-25 14:40:05 -0400 |
commit | 6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab (patch) | |
tree | 47129f109a6bbf96490f258e7c147624f25b3c70 /fs/nfs/pnfs.c | |
parent | aaae3f00d3f67f681a1f3cb7af999e976e8a24ce (diff) | |
download | linux-6a463beb9a433d91f3eaf85c2f0ca0aeddf3e0ab.tar.bz2 |
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/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 8a3f30b695e2..cf90eeda9d71 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1144,6 +1144,7 @@ void pnfs_roc_set_barrier(struct inode *ino, u32 barrier) if (pnfs_seqid_is_newer(barrier, lo->plh_barrier)) lo->plh_barrier = barrier; spin_unlock(&ino->i_lock); + trace_nfs4_layoutreturn_on_close(ino, 0); } void pnfs_roc_get_barrier(struct inode *ino, u32 *barrier) |