Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 22:25:40 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188700 - head/sys/dev/ata
Message-ID:  <200902162225.n1GMPeUi096428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}       



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902162225.n1GMPeUi096428>