Skip to content

Commit 009e7fe

Browse files
Quinn Tranmartinkpetersen
authored andcommitted
scsi: qla2xxx: fix inconsistent TMF timeout
Different behavior were experienced of session being torn down vs not when TMF is timed out. When FW detects the time out, the session is torn down. When driver detects the time out, the session is not torn down. Allow TMF error to return to upper layer without session tear down. Cc: stable@vger.kernel.org Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Link: https://lore.kernel.org/r/20230714070104.40052-10-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 5d3148d commit 009e7fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/scsi/qla2xxx/qla_isr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2543,7 +2543,6 @@ qla24xx_tm_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, void *tsk)
25432543
case CS_PORT_BUSY:
25442544
case CS_INCOMPLETE:
25452545
case CS_PORT_UNAVAILABLE:
2546-
case CS_TIMEOUT:
25472546
case CS_RESET:
25482547
if (atomic_read(&fcport->state) == FCS_ONLINE) {
25492548
ql_dbg(ql_dbg_disc, fcport->vha, 0x3021,

0 commit comments

Comments
 (0)