diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-13 10:36:56 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-22 08:58:24 -0400 |
commit | ca8acf8d84029b395ade8d4562dae2108bb00c17 (patch) | |
tree | 462c32eb1c98c5eb8698618b9b524c57a344c0e2 /fs/nfs/callback_proc.c | |
parent | fbc6f7c233ff0a7e98f5dc2837b08adf03aa9376 (diff) | |
download | kernel_goldelico_gta04-ca8acf8d84029b395ade8d4562dae2108bb00c17.zip kernel_goldelico_gta04-ca8acf8d84029b395ade8d4562dae2108bb00c17.tar.gz kernel_goldelico_gta04-ca8acf8d84029b395ade8d4562dae2108bb00c17.tar.bz2 |
NFSv4: Add tracepoints for debugging delegations
Set up tracepoints to track when delegations are set, reclaimed,
returned by the client, or recalled by the server.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r-- | fs/nfs/callback_proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c index e6ebc4c..c074930 100644 --- a/fs/nfs/callback_proc.c +++ b/fs/nfs/callback_proc.c @@ -15,6 +15,7 @@ #include "internal.h" #include "pnfs.h" #include "nfs4session.h" +#include "nfs4trace.h" #ifdef NFS_DEBUG #define NFSDBG_FACILITY NFSDBG_CALLBACK @@ -93,6 +94,7 @@ __be32 nfs4_callback_recall(struct cb_recallargs *args, void *dummy, default: res = htonl(NFS4ERR_RESOURCE); } + trace_nfs4_recall_delegation(inode, -ntohl(res)); iput(inode); out: dprintk("%s: exit with status = %d\n", __func__, ntohl(res)); |