summaryrefslogtreecommitdiff
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2021-11-04 10:57:12 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-04 19:43:30 -0400
commit8db744ce45ee31d26bd2776070f31121b009f27e (patch)
tree114271e66143c70616403f0ef114ced4c91d3a25 /fs/nfs/callback_proc.c
parent2a65ca8b5850914e2ca67a0b8b8140bf7297353a (diff)
downloadlwn-8db744ce45ee31d26bd2776070f31121b009f27e.tar.gz
lwn-8db744ce45ee31d26bd2776070f31121b009f27e.zip
NFSv4.2 add tracepoint to CB_OFFLOAD
Add a tracepoint to the CB_OFFLOAD operation. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r--fs/nfs/callback_proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index ed9d580826f5..09c5b1cb3e07 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -739,6 +739,9 @@ out:
kfree(copy);
spin_unlock(&cps->clp->cl_lock);
+ trace_nfs4_cb_offload(&args->coa_fh, &args->coa_stateid,
+ args->wr_count, args->error,
+ args->wr_writeverf.committed);
return 0;
}
#endif /* CONFIG_NFS_V4_2 */