OpenCloudOS-Kernel/drivers/scsi/qla2xxx
Quinn Tran f00b3428a8 scsi: qla2xxx: Fix hang in fcport delete path
A hang was observed in the fcport delete path when the device was
responding slow and an issue-lip path (results in session termination) was
taken.

Fix this by issuing logo requests unconditionally.

PID: 19491  TASK: ffff8e23e67bb150  CPU: 0   COMMAND: "kworker/0:0"
 #0 [ffff8e2370297bf8] __schedule at ffffffffb4f7dbb0
 #1 [ffff8e2370297c88] schedule at ffffffffb4f7e199
 #2 [ffff8e2370297c98] schedule_timeout at ffffffffb4f7ba68
 #3 [ffff8e2370297d40] msleep at ffffffffb48ad9ff
 #4 [ffff8e2370297d58] qlt_free_session_done at ffffffffc0c32052 [qla2xxx]
 #5 [ffff8e2370297e20] process_one_work at ffffffffb48bcfdf
 #6 [ffff8e2370297e68] worker_thread at ffffffffb48bdca6
 #7 [ffff8e2370297ec8] kthread at ffffffffb48c4f81

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-08-07 18:08:12 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_attr.c scsi: qla2xxx: Replace vmalloc + memset with vzalloc 2019-07-30 12:20:38 -04:00
qla_bsg.c scsi: qla2xxx: Fix DMA unmap leak 2019-07-30 16:12:01 -04:00
qla_bsg.h scsi: qla2xxx: Add 28xx flash primary/secondary status/image mechanism 2019-03-19 12:22:55 -04:00
qla_dbg.c scsi: qla2xxx: Insert spaces where required 2019-04-15 22:04:40 -04:00
qla_dbg.h scsi: qla2xxx: Cleanups for NVRAM/Flash read/write path 2019-03-19 12:22:54 -04:00
qla_def.h scsi: qla2xxx: Fix premature timer expiration 2019-08-07 18:08:12 -04:00
qla_devtbl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_dfs.c scsi: qla2xxx: Leave a blank line after declarations 2019-04-15 22:04:39 -04:00
qla_dsd.h scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures 2019-04-29 17:24:51 -04:00
qla_fw.h scsi: qla2xxx: Use __le64 instead of uint32_t[2] for sending DMA addresses to firmware 2019-04-29 17:24:51 -04:00
qla_gbl.h scsi: qla2xxx: move IO flush to the front of NVME rport unregistration 2019-06-27 00:10:55 -04:00
qla_gs.c scsi: qla2xxx: Retry fabric Scan on IOCB queue full 2019-08-07 18:08:12 -04:00
qla_init.c scsi: qla2xxx: Fix hang in fcport delete path 2019-08-07 18:08:12 -04:00
qla_inline.h scsi: qla2xxx: Uninline qla2x00_init_timer() 2019-04-29 17:24:49 -04:00
qla_iocb.c scsi: qla2xxx: Fix premature timer expiration 2019-08-07 18:08:12 -04:00
qla_isr.c scsi: qla2xxx: Skip FW dump on LOOP initialization error 2019-07-30 16:12:02 -04:00
qla_mbx.c scsi: qla2xxx: Log the status code if a firmware command fails 2019-04-29 17:24:49 -04:00
qla_mid.c scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp() 2019-04-29 17:24:51 -04:00
qla_mr.c scsi: qla2xxx: Use __le64 instead of uint32_t[2] for sending DMA addresses to firmware 2019-04-29 17:24:51 -04:00
qla_mr.h scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures 2019-04-29 17:24:51 -04:00
qla_nvme.c scsi: qla2xxx: move IO flush to the front of NVME rport unregistration 2019-06-27 00:10:55 -04:00
qla_nvme.h scsi: qla2xxx: Fix NVME cmd and LS cmd timeout race condition 2019-06-27 00:09:18 -04:00
qla_nx.c scsi: qla2xxx: Use __le64 instead of uint32_t[2] for sending DMA addresses to firmware 2019-04-29 17:24:51 -04:00
qla_nx.h scsi: qla2xxx: Move the <linux/io-64-nonatomic-lo-hi.h> include directive 2019-04-15 22:04:40 -04:00
qla_nx2.c scsi: qla2xxx: Increase the size of the mailbox arrays from 4 to 8 2019-04-29 17:24:49 -04:00
qla_nx2.h scsi: qla2xxx: Remove unused symbols 2018-02-12 11:43:24 -05:00
qla_os.c scsi: qla2xxx: Use common update-firmware-options routine for ISP27xx+ 2019-08-07 18:08:12 -04:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Insert spaces where required 2019-04-15 22:04:40 -04:00
qla_target.c scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag 2019-08-07 18:07:11 -04:00
qla_target.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
qla_tmpl.c scsi: qla2xxx: Simplification of register address used in qla_tmpl.c 2019-03-19 12:22:55 -04:00
qla_tmpl.h scsi: qla2xxx: Correction and improvement to fwdt processing 2019-03-19 12:22:55 -04:00
qla_version.h scsi: qla2xxx: Update driver version to 10.01.00.16-k 2019-04-03 23:45:59 -04:00
tcm_qla2xxx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
tcm_qla2xxx.h scsi: qla2xxx: deadlock by configfs_depend_item 2018-12-19 21:26:38 -05:00