Keep track of the number of buffers undgoing IO, and include that number
commit99579d9e3949a5f12a73763eaa56d0843748ce25
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 May 2008 00:14:12 +0000 (6 00:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 6 May 2008 00:14:12 +0000 (6 00:14 +0000)
tree9919b3bd97af824d4ba9cb79fbf3734a395eb4f3
parent4dcaec982e1aabc639dd4b5c296afd8e42f9b310
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