Add the definition of maxbcachebuf to sys/buf.h.
r320070 removed the definition of maxbcachebuf from sys/param.h to fix the build for arm. This patch adds the definition of maxbcachebuf to sys/buf.h, which should be ok, since sys/buf.h is not being included in arm/arm/elf_note.S. Suggested by: kib MFC after: 2 weeks
This commit is contained in:
parent
ece4b18df4
commit
8993030c36
@ -96,7 +96,6 @@ extern int nfscl_ticks;
|
||||
extern void (*ncl_call_invalcaches)(struct vnode *);
|
||||
extern int nfs_numnfscbd;
|
||||
extern int nfscl_debuglevel;
|
||||
extern int maxbcachebuf;
|
||||
|
||||
SVCPOOL *nfscbd_pool;
|
||||
static int nfsrv_gsscallbackson = 0;
|
||||
|
@ -83,7 +83,6 @@ extern int nfscl_debuglevel;
|
||||
extern enum nfsiod_state ncl_iodwant[NFS_MAXASYNCDAEMON];
|
||||
extern struct nfsmount *ncl_iodmount[NFS_MAXASYNCDAEMON];
|
||||
extern struct mtx ncl_iod_mutex;
|
||||
extern int maxbcachebuf;
|
||||
NFSCLSTATEMUTEX;
|
||||
|
||||
MALLOC_DEFINE(M_NEWNFSREQ, "newnfsclient_req", "NFS request header");
|
||||
|
@ -472,6 +472,7 @@ buf_track(struct buf *bp, const char *location)
|
||||
extern int nbuf; /* The number of buffer headers */
|
||||
extern long maxswzone; /* Max KVA for swap structures */
|
||||
extern long maxbcache; /* Max KVA for buffer cache */
|
||||
extern int maxbcachebuf; /* Max buffer cache block size */
|
||||
extern long runningbufspace;
|
||||
extern long hibufspace;
|
||||
extern int dirtybufthresh;
|
||||
|
Loading…
Reference in New Issue
Block a user