]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
qla4xxx: Do not wait for IO completion, after issuing stop_firmware
authorTej Parkash <tej.parkash@qlogic.com>
Tue, 25 Feb 2014 03:06:56 +0000 (22:06 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:12:11 +0000 (19:12 +0200)
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 <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla4xxx/ql4_os.c

index 459b9f7186fd81804745d618dccb603456c633ae..2e95be4a9bcf137c4d6d1862338055806ce6397b 100644 (file)
@@ -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);