aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_common.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-21 08:29:12 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-21 08:29:12 +0000
commit1c7c3c6a869e5eb64a19fda327dbe9f37af584b2 (patch)
tree7fdc5292f8aa97dbc631f433cac4d9874b2c10a0 /sys/nfs/nfs_common.c
parent7090df5aedf992f32acd3e943feef5610de2a3d0 (diff)
downloadsrc-1c7c3c6a869e5eb64a19fda327dbe9f37af584b2.tar.gz
src-1c7c3c6a869e5eb64a19fda327dbe9f37af584b2.zip
This is a rather large commit that encompasses the new swapper,
changes to the VM system to support the new swapper, VM bug fixes, several VM optimizations, and some additional revamping of the VM code. The specific bug fixes will be documented with additional forced commits. This commit is somewhat rough in regards to code cleanup issues. Reviewed by: "John S. Dyson" <root@dyson.iquest.net>, "David Greenman" <dg@root.com>
Notes
Notes: svn path=/head/; revision=42957
Diffstat (limited to 'sys/nfs/nfs_common.c')
-rw-r--r--sys/nfs/nfs_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index b3eec2408a2e..6c9cfb7a4c0f 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
- * $Id: nfs_subs.c,v 1.69 1998/12/14 18:54:03 dt Exp $
+ * $Id: nfs_subs.c,v 1.70 1999/01/05 18:49:58 eivind Exp $
*/
/*
@@ -99,6 +99,7 @@ enum vtype nv3tov_type[8]= {
};
int nfs_ticks;
+int nfs_pbuf_freecnt = -1; /* start out unlimited */
struct nfs_reqq nfs_reqq;
struct nfssvc_sockhead nfssvc_sockhead;
@@ -1191,6 +1192,8 @@ nfs_init(vfsp)
sysent[SYS_getfh].sy_call = (sy_call_t *)getfh;
#endif
+ nfs_pbuf_freecnt = nswbuf / 2 + 1;
+
return (0);
}