mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-27 05:32:27 +00:00
[SCSI] qla4xxx: Fix CPU lockups when ql4xdontresethba set
Fix issue where CPU lockup is seen when ql4xdontresethba is set and driver is "stuck" in NEED_RESET state handler. Signed-off-by: Mike Hernandez <michael.hernandez@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
4c6a794d2c
commit
9acf753393
@ -1836,6 +1836,10 @@ int qla4_8xxx_device_state_handler(struct scsi_qla_host *ha)
|
||||
* reset handler */
|
||||
dev_init_timeout = jiffies +
|
||||
(ha->nx_dev_init_timeout * HZ);
|
||||
} else {
|
||||
qla4_8xxx_idc_unlock(ha);
|
||||
msleep(1000);
|
||||
qla4_8xxx_idc_lock(ha);
|
||||
}
|
||||
qla4_8xxx_idc_unlock(ha);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user