Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 14:45:30 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 173369 for review
Message-ID:  <201001191445.o0JEjUxS068304@repoman.freebsd.org>

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

Change 173369 by mav@mav_mavtest on 2010/01/19 14:44:49

	Clear CAM_DEV_QFRZN after it was handled.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#48 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#48 (text+ko) ====

@@ -934,12 +934,14 @@
 
 	} while (error == ERESTART);
           
-	if ((ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) 
+	if ((ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) {
 		cam_release_devq(ccb->ccb_h.path,
 				 /* relsim_flags */0,
 				 /* openings */0,
 				 /* timeout */0,
 				 /* getcount_only */ FALSE);
+		ccb->ccb_h.status &= ~CAM_DEV_QFRZN;
+	}
 
 	if (ds != NULL) {
 		if (ccb->ccb_h.func_code == XPT_SCSI_IO) {



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