svn commit: r209786 - stable/8/sys/kern
Lawrence Stewart
lstewart at FreeBSD.org
Thu Jul 8 02:46:43 UTC 2010
Author: lstewart
Date: Thu Jul 8 02:46:42 2010
New Revision: 209786
URL: http://svn.freebsd.org/changeset/base/209786
Log:
MFC r206028:
The ALQ should not be considered drained until it has been made inactive.
Sponsored by: FreeBSD Foundation
Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch)
Modified:
stable/8/sys/kern/kern_alq.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/kern/kern_alq.c
==============================================================================
--- stable/8/sys/kern/kern_alq.c Thu Jul 8 02:43:52 2010 (r209785)
+++ stable/8/sys/kern/kern_alq.c Thu Jul 8 02:46:42 2010 (r209786)
@@ -253,7 +253,7 @@ alq_shutdown(struct alq *alq)
alq->aq_flags |= AQ_SHUTDOWN;
/* Drain IO */
- while (alq->aq_flags & (AQ_FLUSHING|AQ_ACTIVE)) {
+ while (alq->aq_flags & AQ_ACTIVE) {
alq->aq_flags |= AQ_WANTED;
msleep_spin(alq, &alq->aq_mtx, "aldclose", 0);
}
More information about the svn-src-all
mailing list