From: Nilesh Javali <njavali@marvell.com>
To: <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>, <GR-QLogic-Storage-Upstream@marvell.com>
Subject: [PATCH 10/15] qla2xxx: Handle aborts correctly for port undergoing deletion
Date: Tue, 1 Dec 2020 00:27:25 -0800 [thread overview]
Message-ID: <20201201082730.24158-11-njavali@marvell.com> (raw)
In-Reply-To: <20201201082730.24158-1-njavali@marvell.com>
From: Saurav Kashyap <skashyap@marvell.com>
Call trace observed while shutting down the adapter ports (LINK DOWN).
Handle aborts correctly.
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
---
drivers/scsi/qla2xxx/qla_nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_nvme.c b/drivers/scsi/qla2xxx/qla_nvme.c
index d4159d5a4ffd..eab559b3b257 100644
--- a/drivers/scsi/qla2xxx/qla_nvme.c
+++ b/drivers/scsi/qla2xxx/qla_nvme.c
@@ -227,7 +227,7 @@ static void qla_nvme_abort_work(struct work_struct *work)
"%s called for sp=%p, hndl=%x on fcport=%p deleted=%d\n",
__func__, sp, sp->handle, fcport, fcport->deleted);
- if (!ha->flags.fw_started && fcport->deleted)
+ if (!ha->flags.fw_started || fcport->deleted)
goto out;
if (ha->flags.host_shutting_down) {
--
2.19.0.rc0
next prev parent reply other threads:[~2020-12-01 8:32 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 8:27 [PATCH 00/15] qla2xxx bug fixes Nilesh Javali
2020-12-01 8:27 ` [PATCH 01/15] scsi: qla2xxx: Return EBUSY on fcport deletion Nilesh Javali
2020-12-01 15:40 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 02/15] qla2xxx: Change post del message from debug level to log level Nilesh Javali
2020-12-01 15:45 ` Himanshu Madhani
2020-12-01 16:05 ` Saurav Kashyap
2020-12-01 16:15 ` Himanshu Madhani
2020-12-02 7:44 ` [EXT] " Saurav Kashyap
2020-12-01 8:27 ` [PATCH 03/15] qla2xxx: limit interrupt vectors to number of cpu Nilesh Javali
2020-12-01 15:46 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 04/15] qla2xxx: tear down session if FW say its down Nilesh Javali
2020-12-01 15:48 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 05/15] qla2xxx: Don't check for fw_started while posting nvme command Nilesh Javali
2020-12-01 9:01 ` Daniel Wagner
2020-12-01 9:39 ` Saurav Kashyap
2020-12-01 9:53 ` Daniel Wagner
2020-12-01 9:57 ` [EXT] " Saurav Kashyap
2020-12-01 15:50 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 06/15] qla2xxx: Fix compilation issue in PPC systems Nilesh Javali
2020-12-01 15:52 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 07/15] qla2xxx: Fix crash during driver load on big endian machines Nilesh Javali
2020-12-01 15:54 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 08/15] qla2xxx: Fix FW initialization error " Nilesh Javali
2020-12-01 16:02 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 09/15] qla2xxx: fix N2N and NVME connect retry failure Nilesh Javali
2020-12-01 16:16 ` Himanshu Madhani
2020-12-01 8:27 ` Nilesh Javali [this message]
2020-12-01 16:17 ` [PATCH 10/15] qla2xxx: Handle aborts correctly for port undergoing deletion Himanshu Madhani
2020-12-01 8:27 ` [PATCH 11/15] qla2xxx: Fix flash update in 28XX adapters on big endian machines Nilesh Javali
2020-12-01 16:17 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 12/15] qla2xxx: Fix the call trace for flush workqueue Nilesh Javali
2020-12-01 16:19 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 13/15] qla2xxx: If fcport is undergoing deletion return IO with retry Nilesh Javali
2020-12-01 16:21 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 14/15] qla2xxx: Fix device loss on 4G and older HBAs Nilesh Javali
2020-12-01 16:22 ` Himanshu Madhani
2020-12-01 8:27 ` [PATCH 15/15] qla2xxx: Update version to 10.02.00.104-k Nilesh Javali
2020-12-01 16:23 ` Himanshu Madhani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201201082730.24158-11-njavali@marvell.com \
--to=njavali@marvell.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).