6936425 Maguro+SAS2: system stuck while running IOs with thread 'txg_quiesce_thread'
authorDavid Hollister <David.Hollister@Sun.COM>
Tue, 06 Apr 2010 13:25:11 -0600
changeset 12085 168b548e9c9a
parent 12084 42da181accf4
child 12086 d9562b318e63
6936425 Maguro+SAS2: system stuck while running IOs with thread 'txg_quiesce_thread'
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_intr.c
--- a/usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_intr.c	Tue Apr 06 11:40:16 2010 -0700
+++ b/usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_intr.c	Tue Apr 06 13:25:11 2010 -0600
@@ -1551,7 +1551,9 @@
 		 * from the watchdog timer) can cause livelocks.
 		 */
 		if (pwp->fwlog_file) {
+			mutex_exit(&pwp->ict_lock);
 			pmcs_gather_fwlog(pwp);
+			mutex_enter(&pwp->ict_lock);
 		}
 	}