summaryrefslogtreecommitdiff
path: root/fs/nfsd/trace.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-10-28 10:47:03 -0400
committerChuck Lever <chuck.lever@oracle.com>2022-11-28 12:54:46 -0500
commit20eee313ff4b8a7e71ae9560f5c4ba27cd763005 (patch)
treefacadbfe24dca41b006fe1bbd79dc567cdebe72a /fs/nfsd/trace.h
parenteeff73f7c1c583f79a401284f46c619294859310 (diff)
downloadlwn-20eee313ff4b8a7e71ae9560f5c4ba27cd763005.tar.gz
lwn-20eee313ff4b8a7e71ae9560f5c4ba27cd763005.zip
NFSD: Trace stateids returned via DELEGRETURN
Handing out a delegation stateid is recorded with the nfsd_deleg_read tracepoint, but there isn't a matching tracepoint for recording when the stateid is returned. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/nfsd/trace.h')
-rw-r--r--fs/nfsd/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h
index 3fcfeb7b560f..00908f75e0a6 100644
--- a/fs/nfsd/trace.h
+++ b/fs/nfsd/trace.h
@@ -604,6 +604,7 @@ DEFINE_STATEID_EVENT(layout_recall_release);
DEFINE_STATEID_EVENT(open);
DEFINE_STATEID_EVENT(deleg_read);
+DEFINE_STATEID_EVENT(deleg_return);
DEFINE_STATEID_EVENT(deleg_recall);
DECLARE_EVENT_CLASS(nfsd_stateseqid_class,