projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
892f63d
)
scsi: qedf: Print scsi_cmd backpointer in good completion path if the command is...
author
Chad Dupuis
<cdupuis@marvell.com>
Mon, 22 Apr 2019 05:44:52 +0000
(22:44 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Mon, 29 Apr 2019 12:34:09 +0000
(08:34 -0400)
Printing scsi command pointer will help in crash dump analysis.
Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@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 51378e51d8e434bf4fa76829d536aa65b0af2774..f2d4b308bea125b4b30bb51a801ac0ee3b5b7865 100644
(file)
--- a/
drivers/scsi/qedf/qedf_io.c
+++ b/
drivers/scsi/qedf/qedf_io.c
@@
-1859,9
+1859,9
@@
int qedf_initiate_abts(struct qedf_ioreq *io_req, bool return_scsi_cmd_on_abts)
if (!test_bit(QEDF_CMD_OUTSTANDING, &io_req->flags) ||
test_bit(QEDF_CMD_IN_CLEANUP, &io_req->flags) ||
test_bit(QEDF_CMD_IN_ABORT, &io_req->flags)) {
- QEDF_ERR(&
(qedf->dbg_ctx), "io_req xid=0x%x already in "
- "cleanup or abort processing or already "
-
"completed.\n", io_req->xi
d);
+ QEDF_ERR(&
qedf->dbg_ctx,
+ "io_req xid=0x%x sc_cmd=%p already in cleanup or abort processing or already completed.\n",
+
io_req->xid, io_req->sc_cm
d);
rc = 1;
goto drop_rdata_kref;
}