svn commit: r188700 - head/sys/dev/ata
Alexander Motin
mav at FreeBSD.org
Mon Feb 16 14:25:44 PST 2009
Author: mav
Date: Mon Feb 16 22:25:39 2009
New Revision: 188700
URL: http://svn.freebsd.org/changeset/base/188700
Log:
Make core dumping to ad not to freeze even if interrupts, not disabled
for some reason, stealing our events.
Modified:
head/sys/dev/ata/ata-queue.c
Modified: head/sys/dev/ata/ata-queue.c
==============================================================================
--- head/sys/dev/ata/ata-queue.c Mon Feb 16 21:56:17 2009 (r188699)
+++ head/sys/dev/ata/ata-queue.c Mon Feb 16 22:25:39 2009 (r188700)
@@ -214,7 +214,7 @@ ata_start(device_t dev)
if (dumping) {
mtx_unlock(&ch->state_mtx);
mtx_unlock(&ch->queue_mtx);
- while (!ata_interrupt(ch))
+ while (!ata_interrupt(ch) && ch->running)
DELAY(10);
return;
}
More information about the svn-src-all
mailing list