]> err.no Git - linux-2.6/commit
[SCSI] aic94xx: fix sequencer hang on error recovery
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 22 Feb 2008 23:01:59 +0000 (17:01 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 22 Feb 2008 23:23:36 +0000 (17:23 -0600)
commit91b550604480eadcdadc7db8a7d19f496ccad6bd
treee121854505fa10df824da075a6bb06f1e3fd586a
parentdeee13dfd6dd6c18518ea725f11111ebd9bf4fa8
[SCSI] aic94xx: fix sequencer hang on error recovery

The clear nexus I_T and clear nexus I_T_L functions in the aic94xx
specify the SUSPEND_TX flag which causes the sequencer to be suspended
until it receives a RESUME_TX.  Unfortunately, nothing ever sends the
resume, so the sequencer on the link is stopped forever, leading to
eventual timeouts and I/O errors.

Since clear nexus commands are only executed as part of error recovery,
it's perfectly fine to keep the sequencer running on the link ... as
soon as the recovery function is completed, we'll send it the commands
to retry.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic94xx/aic94xx_tmf.c