]> git.baikalelectronics.ru Git - kernel.git/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)
commitb7b83779964ebc950fc875d6ab09082ccdb46f6a
treee121854505fa10df824da075a6bb06f1e3fd586a
parent9decfd3e3c1e3c650dac977414db20c3fe78e03c
[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