diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-11-04 10:57:12 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-11-04 19:43:30 -0400 |
commit | 8db744ce45ee31d26bd2776070f31121b009f27e (patch) | |
tree | 114271e66143c70616403f0ef114ced4c91d3a25 /fs/nfs/callback_proc.c | |
parent | 2a65ca8b5850914e2ca67a0b8b8140bf7297353a (diff) | |
download | lwn-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.c | 3 |
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 */ |