projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09ea43
)
scsi: qedf: Send cleanup even for RRQ on timeout
author
Saurav Kashyap
<skashyap@marvell.com>
Fri, 7 Aug 2020 11:06:53 +0000
(
04:06
-0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 21 Aug 2020 01:41:51 +0000
(21:41 -0400)
Send cleanup even for RRQ on timeout.
Link:
https://lore.kernel.org/r/20200807110656.19965-5-jhasan@marvell.com
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_io.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qedf/qedf_io.c
b/drivers/scsi/qedf/qedf_io.c
index acd9774a9387c3f468c4ee027dce8170a3fc063e..26d11cc91608d76b9424813d574a2c81f4641817 100644
(file)
--- a/
drivers/scsi/qedf/qedf_io.c
+++ b/
drivers/scsi/qedf/qedf_io.c
@@
-85,13
+85,13
@@
static void qedf_cmd_timeout(struct work_struct *work)
*/
QEDF_ERR(&(qedf->dbg_ctx), "ELS timeout, xid=0x%x.\n",
io_req->xid);
+ qedf_initiate_cleanup(io_req, true);
io_req->event = QEDF_IOREQ_EV_ELS_TMO;
/* Call callback function to complete command */
if (io_req->cb_func && io_req->cb_arg) {
io_req->cb_func(io_req->cb_arg);
io_req->cb_arg = NULL;
}
- qedf_initiate_cleanup(io_req, true);
kref_put(&io_req->refcount, qedf_release_cmd);
break;
case QEDF_SEQ_CLEANUP: