nfsd: Define the file access mode enum for tracing
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Родитель
a9ceb060b3
Коммит
c19285596d
|
@ -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" }, \
|
||||
|
|
Загрузка…
Ссылка в новой задаче