2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 14:43:54 +08:00
linux-next/drivers/infiniband/ulp/iser
Mike Christie 891e2639de scsi: iscsi: Stop queueing during ep_disconnect
During ep_disconnect we have been doing iscsi_suspend_tx/queue to block new
I/O but every driver except cxgbi and iscsi_tcp can still get I/O from
__iscsi_conn_send_pdu() if we haven't called iscsi_conn_failure() before
ep_disconnect. This could happen if we were terminating the session, and
the logout timed out before it was even sent to libiscsi.

Fix the issue by adding a helper which reverses the bind_conn call that
allows new I/O to be queued. Drivers implementing ep_disconnect can use this
to make sure new I/O is not queued to them when handling the disconnect.

Link: https://lore.kernel.org/r/20210525181821.7617-3-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-02 01:28:19 -04:00
..
iscsi_iser.c scsi: iscsi: Stop queueing during ep_disconnect 2021-06-02 01:28:19 -04:00
iscsi_iser.h RDMA/iser: struct iscsi_iser_task is declared twice 2021-03-30 19:53:08 -03:00
iser_initiator.c RDMA/iser: Remove support for FMR memory registration 2020-06-02 20:32:53 -03:00
iser_memory.c IB/iser: Remove unneeded semicolons 2021-01-19 20:02:06 -04:00
iser_verbs.c IB/iser: Remove unneeded semicolons 2021-01-19 20:02:06 -04:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00