summaryrefslogtreecommitdiff
path: root/sys/conf/files
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-20 15:04:25 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-08-20 15:04:25 +0000
commitc426e8990305c5a67004e693537df185276fa1f1 (patch)
treeec31fc944fe3e08fd4af4ef6c7ffb9e74e7e8076 /sys/conf/files
parentf4720dcab9e25893c45de1617edcd35a8da7377b (diff)
Rework the way we do async I/O in nfs. Introduce separate buf queues for
each mount, and when work is "found", peg an aiod to that mount todo the I/O. Make nfs_asyncio() a bit smarter when deciding when to do asyncio and when to force it sync, this is done by keeping the aiod's one two lists, an "idle" and an "all" list, so asyncio is only done when there are aiods hanging around todo it for us or are already pegged to the mount. Idea liked by at least beck@ (and I think art@). Extensive testing done by myself and jasper and a few others on various arch's. Ideas/Code from Net/Free. OK blambert@.
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index bbfedc902bd..a6aa0dcb07e 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.470 2009/08/09 23:04:49 miod Exp $
+# $OpenBSD: files,v 1.471 2009/08/20 15:04:24 thib Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -906,6 +906,7 @@ file netnatm/natm_pcb.c natm
file netnatm/natm_proto.c natm
file netnatm/natm.c natm
file nfs/krpc_subr.c nfsclient
+file nfs/nfs_aiod.c nfsclient
file nfs/nfs_bio.c nfsclient
file nfs/nfs_boot.c nfsclient
file nfs/nfs_debug.c nfsclient & ddb