Message ID | 20171204224517.3409-20-himanshu.madhani@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DAF32600C5 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCA5E29387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C059F29446; Mon, 4 Dec 2017 22:46:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E13F29387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752009AbdLDWqO (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 4 Dec 2017 17:46:14 -0500 Received: from mail-bl2nam02on0078.outbound.protection.outlook.com ([104.47.38.78]:11007 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752474AbdLDWp7 (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 4 Dec 2017 17:45:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GoJ5okIen+NC+9C/uKKIq46xh92P/eBsBvJ/sg9xJKc=; b=d27qxU2n7WFTXU3O1QExmeZnvWQLIsp+zqRQvRJ6mFXPcCLVC3KOx7JdglgOV4pOnFnxXAjBgqGyjzkQVMpkwvcmPVvrlWtat25NeFGwI522G7XXK8rfjH1BvU8a09Yhf4F1f2hl3ZE3MDp+1r0SMCGBxZKCmKd4c2n9yzeDm4k= Received: from CO2PR07CA0059.namprd07.prod.outlook.com (10.174.192.27) by CY4PR0701MB3810.namprd07.prod.outlook.com (52.132.102.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Mon, 4 Dec 2017 22:45:57 +0000 Received: from BL2FFO11FD054.protection.gbl (2a01:111:f400:7c09::161) by CO2PR07CA0059.outlook.office365.com (2603:10b6:100::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Mon, 4 Dec 2017 22:45:57 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD054.mail.protection.outlook.com (10.173.161.182) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.239.4 via Frontend Transport; Mon, 4 Dec 2017 22:45:56 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Mon, 4 Dec 2017 14:45:22 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id vB4MjMCF003521; Mon, 4 Dec 2017 14:45:22 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vB4MjLRa003520; Mon, 4 Dec 2017 14:45:21 -0800 From: Himanshu Madhani <himanshu.madhani@cavium.com> To: <James.Bottomley@HansenPartnership.com>, <martin.petersen@oracle.com> CC: <himanshu.madhani@cavium.com>, <linux-scsi@vger.kernel.org> Subject: [PATCH v3 19/22] qla2xxx: Remove aborting ELS IOCB call issued as part of timeout. Date: Mon, 4 Dec 2017 14:45:14 -0800 Message-ID: <20171204224517.3409-20-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171204224517.3409-1-himanshu.madhani@cavium.com> References: <20171204224517.3409-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(2980300002)(428002)(189002)(199003)(81156014)(8676002)(81166006)(1076002)(47776003)(189998001)(101416001)(8936002)(50466002)(305945005)(50226002)(80596001)(69596002)(105586002)(2906002)(356003)(106466001)(48376002)(2950100002)(6666003)(5660300001)(33646002)(72206003)(36756003)(4326008)(86362001)(575784001)(87636003)(110136005)(51416003)(16586007)(316002)(478600001)(54906003)(76176011)(42186006)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3810; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD054; 1:SkqPhboDCLIPmFfOS+Joye2yfwVFfgfDSwWI8+8amhRizN+wRkb/3ODatl7vLwgr+ftyKw9boULelKSFqgYp85ocgA7CRkOOxub0775qMwDriu3FDsW8A5VGmNcwig5D X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72bf219e-5556-41b9-fc44-08d53b68c8bb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286); SRVR:CY4PR0701MB3810; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3810; 3:4VxZ6OE+5hyb4jL0Sy5urkRh1iWiqtQraQXvx7xbeFXLwx6g0+ERP9FmqWqR9e1CaV58x5yP50+tVg1NZdPsgG5XMpgY06HMk/8cTtM622Na5Bx+xBw+0NIuuDK/KZbdq5qvwF3+rO3DXmhi5NerKbArLgQYbBytFZT/KQE9B0Gf9ZlRfHc0HJwbWpcWwuBTZuRTZ1Rw7bUOVDi8FJWjU2908O69Vi8VFnMf7YuJql1JJ35mHb0mdM74tnMf3stVcLS4ouLfW5fyh3Hc2HUVu5lGazYIRMKli0/blQzifp/JbujC1LprmePayYXJeU3pGhyslRULKj0KHVhwu2mHH5ECwuLJR3TssYihHeB9ToQ=; 25:O/LyVJvwQLuSnirockNv9sSulwZnkxkZftVMu1lB9z+jy+DEr7hCk1VsZWbVPletNFisZluLggv7ZFwFI3BwpLlcqmJSjjLeBX9S/ovhEFS3aS5sGpHJnsG97z2TN+eH3nST4jH2hNKffF7aOfUemcb3SpGAjImjW4yyiv3BRsoM19t0hReujipuZhhDQh0QBqy9Ikj34b6lx/9MVOOmeWBSdvSjK0HpUjhjTt/guWoiCJIDKwufrHdAKbJJK6iDe4YsaPzN34x5KBoPyF+xohde/neXeK2jXA//t0ospPHZXESQ9NnG3VyTp9DmlkUOyFfRT2tzcl7x6XF/kF3C3Q== X-MS-TrafficTypeDiagnostic: CY4PR0701MB3810: X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3810; 31:PGGilWvebBi+hGKGYUP9fXy+oB4gPQQS9JQ3MLEQqFsZoHv2lIFYn1uzq/LT6QPIuCSLzQrHk/T6GkntjcALj8iIutnWuKrHW0v9D25L0CwAMhbuvVv4JJas27EXwHLAt+9661c8+JYnOwsfyDlHELoffRaZ626Uy1Mnnpsej4vzCaqY9XUe/AeqUODQMGf+XADMrb+r0FuhV+YBHnEfEkX/QYHxRxB1bEh1rFKdaAo=; 20:UOP4WfPxdnw2zGDrOp389YLSO2G1+tVeoms9QegZ5kmXuBH2GyBm332zy3zNbMUDfiKf4vdMXD8Qd/msCBHEj/cLb3tuCsNQqo6r211wK3R4CnKk/Sit8DRpBvyXwvjlWGUiPiQOv0x7qeiBH5Cn19508QyNMZzICXysl+YsnVNRNg+C9LYfBF2C1TxbQTIqFUO3Bs6L8LUbOn7AUhpCLdVfz7468OmsQC2O6cc7rSv1xdbXKax6Am9drSFvyJc51oQLF8DgWW+LOaVxRDmydr1vjndR+Muh70p8GBDSENsarUptEdjebXpb6PNBNKGpo/O3dm7QDbWwmSn9hCiTsQtj2dr+dsS/EIg22lOJ8iFU9FaohErMRDZNQ18eU5gRSWvLhN9fE1gsfuDR0EjVW9+lC94WHiCTHlrieiSV6IsFLZN63Z6L6phNtg1zHF1dzVjBUxJ4I6jWKmfoQCybuY0qESnJ8Td3ZqiZvUB0mxjYaNDD8QLF20CNpUTqIb0u X-Microsoft-Antispam-PRVS: <CY4PR0701MB38100672215C2FC1603E9E19F53C0@CY4PR0701MB3810.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3231022)(10201501046)(3002001)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(6072148)(201708071742011); SRVR:CY4PR0701MB3810; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR0701MB3810; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3810; 4:Ky9YWAS9IDbEloGI8lpz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qLaqHvGDtzVuFrFe9NDE4qb3WvKs4LarIWOZ6BoCXTlGf78aLHzRsbX+i/7oAQ4oXeWuzGS6Wo9aqZo+KGQfzaTY9ahRo=; 24:lYDScPTFbDZcrT22FY+b7rucwj7HBO9CUEohT+3UkZKrIWPL78f3DnxSc2XhyQQED6uAvcyabXeC2DrEt5ggezCxwGP81qzcicMTTyJYCM4=; 7:ue35i4zr2CiL3kK8p+u3r2CM8957IPMEsd7OnCxI1zTpTsEd3k15jO/XGA+dlz/PMtFinw1gLix0er2ATIbTEb4SxoBUFyGoEocDCxUrCr5chKBRu9Xpr0SHJasmH+j+uFfSz1zS7Bja8EU97s40EExPtt+g/5mqlcOln5Wfz0cOm2bJHT9MFYOtwpvDMgqwQ3zERZ17sXK9nyM27/FaQUqP9GR8vaejc7G2og4S/eEcVjngRNNS+sQSUjFiEtsJ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2017 22:45:56.9449 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72bf219e-5556-41b9-fc44-08d53b68c8bb X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3810 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 106f4ac4f733..8ea59586f4f1 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -2392,7 +2392,6 @@ qla2x00_els_dcmd_iocb_timeout(void *data) srb_t *sp = data; fc_port_t *fcport = sp->fcport; struct scsi_qla_host *vha = sp->vha; - struct qla_hw_data *ha = vha->hw; struct srb_iocb *lio = &sp->u.iocb_cmd; ql_dbg(ql_dbg_io, vha, 0x3069, @@ -2400,15 +2399,6 @@ qla2x00_els_dcmd_iocb_timeout(void *data) sp->name, sp->handle, fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); - /* Abort the exchange */ - if (ha->isp_ops->abort_command(sp)) { - ql_dbg(ql_dbg_io, vha, 0x3070, - "mbx abort_command failed.\n"); - } else { - ql_dbg(ql_dbg_io, vha, 0x3071, - "mbx abort_command success.\n"); - } - complete(&lio->u.els_logo.comp); }