Message ID | 20171204224517.3409-13-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 69B02600C5 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:45:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BA3829387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:45:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50B0F29447; Mon, 4 Dec 2017 22:45:59 +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 B21F529387 for <patchwork-linux-scsi@patchwork.kernel.org>; Mon, 4 Dec 2017 22:45:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418AbdLDWp4 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Mon, 4 Dec 2017 17:45:56 -0500 Received: from mail-sn1nam02on0054.outbound.protection.outlook.com ([104.47.36.54]:18813 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752426AbdLDWpo (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Mon, 4 Dec 2017 17:45:44 -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=P21G8vPy1RBpkX45R3k9Ky67kyLg9IOtsd0dDiSwiJY=; b=XLVU48tCyEc9ashcB11xM0LMPqyiLHUM42soHrVQJa4+eNMOctdaIJFWQoVuylWosWD6OO3J7XQlj7p+nRlV9+RmpCyvhalnEoyxlI+S7H4S5QGSXxw9RmDWFrd+juS+IfqAoIJPe6b1f0nHQuCR4JTACbueJF/TRjwuUNdKOPI= Received: from CO2PR07CA0066.namprd07.prod.outlook.com (10.174.192.34) by CY1PR0701MB1946.namprd07.prod.outlook.com (10.163.141.155) 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:42 +0000 Received: from BL2FFO11FD054.protection.gbl (2a01:111:f400:7c09::184) by CO2PR07CA0066.outlook.office365.com (2603:10b6:100::34) 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:42 +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:41 +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:20 -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 vB4MjKj9003493; Mon, 4 Dec 2017 14:45:20 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vB4MjKpk003492; Mon, 4 Dec 2017 14:45:20 -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 12/22] qla2xxx: Clear send ELS LOGO flag after target re-login Date: Mon, 4 Dec 2017 14:45:07 -0800 Message-ID: <20171204224517.3409-13-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)(346002)(376002)(2980300002)(428002)(189002)(199003)(6666003)(478600001)(81156014)(87636003)(81166006)(316002)(86362001)(72206003)(42186006)(106466001)(2906002)(33646002)(305945005)(356003)(8676002)(48376002)(50466002)(105586002)(47776003)(69596002)(80596001)(36756003)(2950100002)(1076002)(76176011)(54906003)(101416001)(110136005)(4326008)(16586007)(5660300001)(50226002)(51416003)(8936002)(189998001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1946; 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:AEqUVFXgbyE0Im73NTxH//ljdZLEnOfh+PrrG1uSYS+CZjaoz2T2pXmyjs6d2vGGfpCyJSmldxAgjETqLHgGnid7ydRFTzOeEV5eCA1CjoDe3L4cp4ZGSB1tONt1vf4O X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5c04307e-7877-4d07-d804-08d53b68bfce X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:CY1PR0701MB1946; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 3:Vslc3YJfiXKp8Pm+ghvBpJAqUpeD7ZFgaOgpvpZ4NMUrPrMb3jpMAyAFBeUxlAQcKuG/1sQ6w2yffRmCNMIfUYfgVwTypmA/ZDgVJx9uAd9zDE0v1jpjMXVfqqQMWf0iy7hnEz5NPsr7ZaSCSZOHDD6kwqzgH2z6VYZ/I9SEWyqLGrMlG7trOvIVM3oFvAH7Ffpl4tqKg430w93AFHEVivqtMu/rsqtiibCMdjhM1lWYEKsZ0qlYFZ84RsnR5WMyikDe0KVKrwQ+NqrtfU6Qgu9NDMefUK5rJ7kbmIELt+FgX/fcM9axpcV4kFaJ1KGy0mXVHQ5hsopS3EvD1rpB5crxw+4vnezLPFZpCX9t9gc=; 25:HBhnjvkGO4bY9vwtak0MVhVnT2gY/hBZLPv0TJ5VykRNROSeW8lR/W3+rnvgmeGcaEk7twcfnAlweihn7pYirjbuiH2033wm9lZibbDmatiwl6lRU5TqjlRpxpJsR++h684W5Dh2VOsX282n/HwbttlJoYLmkJuiY4kv4MELgrlPPdal3WKXluA7g2HwDFk9gh6j6GD9enCISczs3F8MSa+upPgFvW3gX/jRhbVfCnDqs4hmEXMXAmlrChdQ5lx62l7SmELMSG3pkmQru70ogD911Hg8GRJ5oU5oiKI4M59PjL2vzKBxc0FlN+iybTFUSHaiRcd03nRyoE5z3wlXbQ== X-MS-TrafficTypeDiagnostic: CY1PR0701MB1946: X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 31:Wq/l7zRoWb/8HqSepiWzhWJDroFBnUk8fWrnAdcRoy2YjenblXvuws3kyCYO3S0HPGuYnxPwKXT/ukP0flxTChk1kS6pM+G0Eyx40zw0wgBAj4PDeOzzQ6i1/kP8lxLNWHH+T8t0GY15bI/wnqE+rSKUgwMlz2bc7pCqOMmSGCr85qwOhliG7DDpx2CIz2+/G03fvZXdVwTjEv4TJI9HDIJDyHGjucQt/vyMkAu+ETk=; 20:mwCrlieIBKH0nDeuqbuRlYBo9LRdSg90ZBwfCVgxMm1g6NIcLQGmZyiD0LLwwIN+bqDYxLrA3LFmdwD8esSK0cW0aHAQ5grNIxoamun3OBWRWcMTNn6AFGFZOxKhDMSjFrrScSf1y1QFVyVr4mlsFdaXZSzHwHrYfoa1OtX36ve6OIPLaiIFzf0QOITSl7+LwaGRqSTod1a82pFk2Qlpee7MTsBOCYbBKBnjjzwszYhvyMJEPLeU5pqB4zkmXLtuVUL45ZDsQXTOW+HO8iyVG0jNQMFvRXFg+dVIb36VjWrv4v9ZLHJRAAzvlVv4ylliryT/Z6uz0fRED/lycZ5SofMFdMBXR+Cd2RHKQdDxqw8fAIROU71CXXzChB12rwukdZjyrK4Mxhet4sISPGs+TULiEXqAAUXOVIFD9PemM10M9mjC/ITyuf1+GsGZkJCIvC3p+D3m9Me4OGvhlKhdgY/q2g6CNpZArSmtUuXtL1QPr7cBQCWDbIAAoOHXn+iJ X-Microsoft-Antispam-PRVS: <CY1PR0701MB1946C50EE708B04BAE059A02F53C0@CY1PR0701MB1946.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011); SRVR:CY1PR0701MB1946; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR0701MB1946; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 4:uAe8OiL1zcu4ahCjS0IP8aIfpXT+yyD8QOpnlaYg7teBX4iannVQXmEhq2BgCafy5yqzqMV2aNvTTi0uYC1P4U+kOQdVEC6wSr7+VWgXl022zMrni7Yvgru9inX3DEWup2lL6mPjzTm8HcfkDZy612SUTvurxhYKy7/HLI16rWSWra4xa/lAUfPzbWimqzykcxPYKGKCbqNgkIsrtl2aAqu8Y4PDM74w5zJoKLElLBkpGvVf0qTAY/XvYHNlOIZJKAB4xl/Cxu1cunah5ddKtGzHGj+sKdBinXeSmOUwz8HrJLyc0myzYLDxU1kCe/c3 X-Forefront-PRVS: 051158ECBB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1946; 23:CwB1gFcqC/p5jEKlUzjIqhgoxlS0TUzcB+oQfQW?= =?us-ascii?Q?3oXMeBfjnMYaE7D2+r9tbpRTizbpah1T7iIgkU9Cf3k8R94WWxEJD9M9YkyS?= =?us-ascii?Q?7L57Tc8kMOIUbiCrCLZGUQg9zB56NuavAMKsBY0t8jIbvM8piUKu8mEzbZ/z?= =?us-ascii?Q?SPoKO2+rL3I0d27tzLizkXtenpvrjgOgCD6YfEFp4erh5vPhp5PVVC2tHn/a?= =?us-ascii?Q?p+1I5akvW2IsDXNMnBLer9s3Nf07eTh6/p8j3OYy5GpCzv+o91EmV4Y2i4DW?= =?us-ascii?Q?HmaomDqoH+IFYqk42LFaYon4/+8dt3BXMQDp696jN18IbZrdC5ThcToLj1UK?= =?us-ascii?Q?u8y0dwGadwWAMsjMSjEnzNlng7V0mMQ1ULqwyaJhIf3E5AxRMew1IySG1QVv?= =?us-ascii?Q?FDoHZLHxAOgt/6ceayT9FoT4q1weh/P/hqcmXGNiWssAS+YQ5XU1N622yRJa?= =?us-ascii?Q?DfIdBmk5jPSzl61AkCPyy02KIzWYs3wxHvZyG00pTiGIJ5TUZWmLLu8r/4/k?= =?us-ascii?Q?LMjjvTrYNmabrj+d14rZcY9sd20r3ND1hregCkNnvl/C3Qub5+K6kl+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GDe9nilF6Qux9WihWedby3oK07Nlt1sVm+85S+q4JnTVEs0oiLWQuSJ/xI=; 24:BiRKuLB7+aZlb11ZmzC+q3vhUhC9XV6I9iIoG0+7OHykGfNda01QqAvaL1RwoSeUHI9P4FNRxgzl8h04bNnInBKJCAYb+OQuk1TK81qv/TA=; 7:Jwxz16YdEArl51EfdW8Gi7DeaegTOfsTBwbh8GcwpxSYSPjYerQYb2HNJd7nhyQ0bdKY0gdJoDTOrzg34aRb6QmqDznrFEzXuCZKtRsDL3uKFgsAsJwFOEGFs2C+A60A504K9IrZgql0REcwnh/dvmQ+vNzjMAJv+o3oel3NmvBdhqGqsLlsBVwVQqOM8+rC6pCOYRXCWlhJREjpQmmp6/nFPFeCrQXwJ5I0sGJ3C+0PyXcsxEiaJhmcnNAbu3Fx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2017 22:45:41.9846 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5c04307e-7877-4d07-d804-08d53b68bfce 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: CY1PR0701MB1946 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_target.c b/drivers/scsi/qla2xxx/qla_target.c index 283ff316e4b2..e824cdc77139 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -983,6 +983,7 @@ static void qlt_free_session_done(struct work_struct *work) logo.id = sess->d_id; logo.cmd_count = 0; qlt_send_first_logo(vha, &logo); + sess->send_els_logo = 0; } if (sess->logout_on_delete) {