summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_isr.c
diff options
context:
space:
mode:
authorLalit Chandivade <lalit.chandivade@qlogic.com>2010-05-04 15:01:32 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-05-16 18:22:07 -0400
commit86fbee86e94c7e80c9bb01db0cf68b7977462109 (patch)
tree5986a38b823136858ac93466f0af35d22037bf40 /drivers/scsi/qla4xxx/ql4_isr.c
parent1516ef44835417f55645cdd9ccf203551ca6e8c0 (diff)
[SCSI] qla2xxx: ensure flash operation and host reset via sg_reset are mutually exclusive
The problem occurring is a hw-race where there's an outstanding read-flash operation occurring while the chip is being reset (done via an sg_reset script). After the chip is paused, the read-flash operation never completes and the DPC thread, while trying to complete the reset, is never able to recover, as the HW appears to be hung... The fix is to wait for outstanding flash operation prior to doing a sg_reset -h. And to wait for reset to complete before any flash operations. Note, during the wait, if any of the operation (reset/flash) does not complete, failure is returned to the upper layer. The upper layer either need to fail or retry. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_isr.c')
0 files changed, 0 insertions, 0 deletions