summaryrefslogtreecommitdiff
path: root/bin/dd/misc.c
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 /bin/dd/misc.c
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 'bin/dd/misc.c')
0 files changed, 0 insertions, 0 deletions