svn commit: r253326 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sat Jul 13 19:34:35 UTC 2013
Author: kib
Date: Sat Jul 13 19:34:34 2013
New Revision: 253326
URL: http://svnweb.freebsd.org/changeset/base/253326
Log:
There is no need to count waiters for the runningbufspace.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/vfs_bio.c
Modified: head/sys/kern/vfs_bio.c
==============================================================================
--- head/sys/kern/vfs_bio.c Sat Jul 13 19:32:50 2013 (r253325)
+++ head/sys/kern/vfs_bio.c Sat Jul 13 19:34:34 2013 (r253326)
@@ -561,7 +561,7 @@ waitrunningbufspace(void)
mtx_lock(&rbreqlock);
while (runningbufspace > hirunningspace) {
- ++runningbufreq;
+ runningbufreq = 1;
msleep(&runningbufreq, &rbreqlock, PVM, "wdrain", 0);
}
mtx_unlock(&rbreqlock);
More information about the svn-src-head
mailing list