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:
Rick Macklem 2017-06-19 22:07:53 +00:00
parent cf619a92d2
commit ee791357a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320126
3 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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");

View File

@ -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;