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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"