svn commit: r249205 - head/sys/cam/ata

Alexander Motin mav at FreeBSD.org
Sat Apr 6 17:14:57 UTC 2013


Author: mav
Date: Sat Apr  6 17:14:56 2013
New Revision: 249205
URL: http://svnweb.freebsd.org/changeset/base/249205

Log:
  Replicate r245306 from SCSI to ATA.  The problem didn't appear so far,
  covered by multilevel freeze mechanism, but it is better to be safe.

Modified:
  head/sys/cam/ata/ata_da.c

Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c	Sat Apr  6 17:00:11 2013	(r249204)
+++ head/sys/cam/ata/ata_da.c	Sat Apr  6 17:14:56 2013	(r249205)
@@ -614,6 +614,9 @@ adaschedule(struct cam_periph *periph)
 	struct ada_softc *softc = (struct ada_softc *)periph->softc;
 	uint32_t prio;
 
+	if (softc->state != ADA_STATE_NORMAL)
+		return;
+
 	/* Check if cam_periph_getccb() was called. */
 	prio = periph->immediate_priority;
 


More information about the svn-src-head mailing list