Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 13:25:24 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 53073 for review
Message-ID:  <200405192025.i4JKPOLv061043@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53073

Change 53073 by peter@peter_hammer on 2004/05/19 13:25:23

	stop the system locking up quite so hard after a panic.
	ata never gets interrupts, so it can't service the buffers nor
	the commands to flush the cache.

Affected files ...

.. //depot/projects/hammer/sys/dev/ata/ata-all.c#25 edit

Differences ...

==== //depot/projects/hammer/sys/dev/ata/ata-all.c#25 (text+ko) ====

@@ -343,6 +343,9 @@
     struct ata_channel *ch;
     int ctlr;
 
+    if (panicstr)
+	return;
+
     /* flush cache on all devices */
     for (ctlr = 0; ctlr < devclass_get_maxunit(ata_devclass); ctlr++) {
 	if (!(ch = devclass_get_softc(ata_devclass, ctlr)))



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