nfsd: Define the file access mode enum for tracing
[ Upstream commit c19285596de699e4602f9c89785e6b8c29422286 ] Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Stable-dep-of: 3bc8edc98bd4 ("nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
aa5fafd4a6
commit
fe142d5cee
@ -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" }, \
|
||||
|
Loading…
Reference in New Issue
Block a user