aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTej Parkash <[email protected]>2014-02-24 22:06:56 -0500
committerChristoph Hellwig <[email protected]>2014-05-19 19:12:11 +0200
commit4a83f9e8c0970a8b73df0f46f881859eba85635f (patch)
treec67fe95499736431ecc17a82e5788c190810b5fa
parente6babec6cf631d81542c6a40a2ca3e5d2de5579b (diff)
qla4xxx: Do not wait for IO completion, after issuing stop_firmware
Problem: iSCSI stop_firmware mailbox command is not completing outstanding IO. Solution: Do not wait for IO completion after issuing stop_firmware mailbox command Signed-off-by: Tej Parkash <[email protected]> Signed-off-by: Vikas Chaudhary <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 459b9f7186fd..2e95be4a9bcf 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -4862,9 +4862,6 @@ static int qla4xxx_recover_adapter(struct scsi_qla_host *ha)
ha->host_no, __func__));
status = ha->isp_ops->reset_firmware(ha);
if (status == QLA_SUCCESS) {
- if (!test_bit(AF_FW_RECOVERY, &ha->flags))
- qla4xxx_cmd_wait(ha);
-
ha->isp_ops->disable_intrs(ha);
qla4xxx_process_aen(ha, FLUSH_DDB_CHANGED_AENS);
qla4xxx_abort_active_cmds(ha, DID_RESET << 16);