diff options
author | marius eriksen <marius@cvs.openbsd.org> | 2004-08-03 17:11:49 +0000 |
---|---|---|
committer | marius eriksen <marius@cvs.openbsd.org> | 2004-08-03 17:11:49 +0000 |
commit | b8ed71e1dd36fa802eca4f3384c7c7ab410abea5 (patch) | |
tree | 36f516e146da6232ec374cbd7c288e1d9758bc6a /sys/kern | |
parent | 819ed0960a343745b18452727e63b4c4dae1e1c7 (diff) |
NFS commit coalescion: instead of sending a commit for each block, coalesce
these into larger ranges wherever possible.
this should speed up NFS writes quite a bit.
ok art@ millert@ pedro@ tedu@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index 7ed2a32012b..895452bbde8 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_conf.c,v 1.23 2004/04/13 00:15:28 tedu Exp $ */ +/* $OpenBSD: vfs_conf.c,v 1.24 2004/08/03 17:11:48 marius Exp $ */ /* $NetBSD: vfs_conf.c,v 1.21.4.1 1995/11/01 00:06:26 jtc Exp $ */ /* @@ -60,6 +60,7 @@ #endif #ifdef NFSCLIENT +#include <sys/rwlock.h> /* XXX*/ #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfs/nfsnode.h> |