提交 e3c0fb7e 编写于 作者: C Chuck Lever 提交者: Trond Myklebust

NFS: Add NFSDBG_STATE

fs/nfs/nfs4state.c does not yet have any dprintk() call sites, and I'm
about to introduce some.  We will need a new flag for enabling them.
Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 c3607282
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "nfs4_fs.h" #include "nfs4_fs.h"
#include "delegation.h" #include "delegation.h"
#define NFSDBG_FACILITY NFSDBG_PROC #define NFSDBG_FACILITY NFSDBG_STATE
void void
nfs4_renew_state(struct work_struct *work) nfs4_renew_state(struct work_struct *work)
......
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
#include "internal.h" #include "internal.h"
#include "pnfs.h" #include "pnfs.h"
#define NFSDBG_FACILITY NFSDBG_STATE
#define OPENOWNER_POOL_SIZE 8 #define OPENOWNER_POOL_SIZE 8
const nfs4_stateid zero_stateid; const nfs4_stateid zero_stateid;
......
...@@ -634,6 +634,7 @@ nfs_fileid_to_ino_t(u64 fileid) ...@@ -634,6 +634,7 @@ nfs_fileid_to_ino_t(u64 fileid)
#define NFSDBG_FSCACHE 0x0800 #define NFSDBG_FSCACHE 0x0800
#define NFSDBG_PNFS 0x1000 #define NFSDBG_PNFS 0x1000
#define NFSDBG_PNFS_LD 0x2000 #define NFSDBG_PNFS_LD 0x2000
#define NFSDBG_STATE 0x4000
#define NFSDBG_ALL 0xFFFF #define NFSDBG_ALL 0xFFFF
#ifdef __KERNEL__ #ifdef __KERNEL__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册