diff options
author | kib <kib@FreeBSD.org> | 2013-07-13 19:34:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-07-13 19:34:34 +0000 |
commit | 0c582b5a5cb5eaeeb7c19b94455e8d7dcec00364 (patch) | |
tree | 495a2a6221623f7a851df0cd930b20d5f47b7d0b /sys/kern/vfs_bio.c | |
parent | 66a95162d6f493f1f4481d7f0225a1ad87b5db93 (diff) | |
download | FreeBSD-src-0c582b5a5cb5eaeeb7c19b94455e8d7dcec00364.zip FreeBSD-src-0c582b5a5cb5eaeeb7c19b94455e8d7dcec00364.tar.gz |
There is no need to count waiters for the runningbufspace.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 68021e0..a25c934 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -561,7 +561,7 @@ waitrunningbufspace(void) mtx_lock(&rbreqlock); while (runningbufspace > hirunningspace) { - ++runningbufreq; + runningbufreq = 1; msleep(&runningbufreq, &rbreqlock, PVM, "wdrain", 0); } mtx_unlock(&rbreqlock); |