diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-11-04 17:57:12 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-11-05 02:43:30 +0300 |
commit | 8db744ce45ee31d26bd2776070f31121b009f27e (patch) | |
tree | 114271e66143c70616403f0ef114ced4c91d3a25 /fs/nfs/callback_proc.c | |
parent | 2a65ca8b5850914e2ca67a0b8b8140bf7297353a (diff) | |
download | linux-8db744ce45ee31d26bd2776070f31121b009f27e.tar.xz |
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 */ |