PERFORCE change 53073 for review
Peter Wemm
peter at FreeBSD.org
Wed May 19 13:25:26 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=53073
Change 53073 by peter at 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)))
More information about the p4-projects
mailing list