projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ceb06
)
nfsd: Define the file access mode enum for tracing
author
Trond Myklebust
<trondmy@gmail.com>
Tue, 14 Jan 2020 17:00:22 +0000
(12:00 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 6 Feb 2020 16:22:55 +0000
(11:22 -0500)
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/trace.h
patch
|
blob
|
history
diff --git
a/fs/nfsd/trace.h
b/fs/nfsd/trace.h
index
b073bdc
..
17ecef4
100644
(file)
--- a/
fs/nfsd/trace.h
+++ b/
fs/nfsd/trace.h
@@
-166,6
+166,12
@@
DEFINE_STATEID_EVENT(layout_recall_done);
DEFINE_STATEID_EVENT(layout_recall_fail);
DEFINE_STATEID_EVENT(layout_recall_release);
+TRACE_DEFINE_ENUM(NFSD_FILE_HASHED);
+TRACE_DEFINE_ENUM(NFSD_FILE_PENDING);
+TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_READ);
+TRACE_DEFINE_ENUM(NFSD_FILE_BREAK_WRITE);
+TRACE_DEFINE_ENUM(NFSD_FILE_REFERENCED);
+
#define show_nf_flags(val) \
__print_flags(val, "|", \
{ 1 << NFSD_FILE_HASHED, "HASHED" }, \