mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
c3607282b4
commit
e3c0fb7ef5
@ -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 @@
|
|||||||
#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)
|
|||||||
#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__
|
||||||
|
Loading…
Reference in New Issue
Block a user