summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_syscalls.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-11 12:35:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-11 12:35:48 +0000
commitb2b0c7fef4a45b9670abe28fb02d4d6501aba3cf (patch)
treeb68620a361e298733e9f56b948838c732f923917 /sys/nfs/nfs_syscalls.c
parent737d3ccddb6f7c737402ff2b6608eef74cba85eb (diff)
back out biomem diff since it is not right yet. Doing very large
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
Diffstat (limited to 'sys/nfs/nfs_syscalls.c')
-rw-r--r--sys/nfs/nfs_syscalls.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index caedf7bdc5c..c1ba30237c8 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.62 2008/06/11 04:52:27 blambert Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.63 2008/06/11 12:35:46 deraadt Exp $ */
/* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */
/*
@@ -746,8 +746,7 @@ nfssvc_iod(p)
(B_BUSY|B_DELWRI|B_NEEDCOMMIT|B_NOCACHE))!=B_DELWRI)
continue;
bremfree(nbp);
- nbp->b_flags |= B_ASYNC;
- buf_acquire(nbp);
+ nbp->b_flags |= (B_BUSY|B_ASYNC);
break;
}
/*