Keep track of the number of buffers undgoing IO, and include that number
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 May 2008 00:14:12 +0000 (00:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 May 2008 00:14:12 +0000 (00:14 +0000)
commit1b30fbccdbbe8c2f7083b74f2ca65a65b79e8b51
tree5c16e24359d8408cedaaa95a7431afddc0e279c8
parent2494f2822149273676b704081e1f59b9d6ca7dc6
Keep track of the number of buffers undgoing IO, and include that number
in calculations involving numdirtybuffers.  This prevents the kernel from
believing that there are only a few dirty buffers when, in fact, all the
dirty buffers are running IOs.
sys/kern/vfs_bio.c
sys/kern/vfs_cluster.c
sys/sys/buf.h
sys/vfs/specfs/spec_vnops.c