linux-stable/include
Mike Christie bb42856bfd scsi: iscsi: Add helper to remove a session from the kernel
During qedi shutdown we need to stop the iSCSI layer from sending new nops
as pings and from responding to target ones and make sure there is no
running connection cleanups. Commit d1f2ce7763 ("scsi: qedi: Fix host
removal with running sessions") converted the driver to use the libicsi
helper to drive session removal, so the above issues could be handled. The
problem is that during system shutdown iscsid will not be running so when
we try to remove the root session we will hang waiting for userspace to
reply.

Add a helper that will drive the destruction of sessions like these during
system shutdown.

Link: https://lore.kernel.org/r/20220616222738.5722-5-michael.christie@oracle.com
Tested-by: Nilesh Javali <njavali@marvell.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-06-21 21:14:54 -04:00
..
acpi cxl for 5.19 2022-05-27 21:24:19 -07:00
asm-generic RISC-V Patches for the 5.19 Merge Window, Part 1 2022-05-31 14:10:54 -07:00
clocksource pwm: Changes for v5.19-rc1 2022-06-01 10:49:11 -07:00
crypto
drm LoongArch: Add writecombine support for drm 2022-06-03 20:09:27 +08:00
dt-bindings Char / Misc / Other smaller driver subsystem updates for 5.19-rc1 2022-06-03 11:36:34 -07:00
keys
kunit
kvm
linux A single featurelet for delay accounting. Delayed a bit 2022-06-05 16:58:27 -07:00
math-emu
media
memory
misc
net bluetooth: don't use bitmaps for random flag accesses 2022-06-05 16:28:41 -07:00
pcmcia
ras
rdma RDMA/core: Fix typo in comment 2022-05-24 11:24:58 -03:00
scsi scsi: iscsi: Add helper to remove a session from the kernel 2022-06-21 21:14:54 -04:00
soc ARM: driver changes for 5.19 2022-05-26 10:32:47 -07:00
sound ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
target scsi: target: iscsi: Control authentication per ACL 2022-06-07 21:55:11 -04:00
trace Driver core changes for 5.19-rc1 2022-06-03 11:48:47 -07:00
uapi A single featurelet for delay accounting. Delayed a bit 2022-06-05 16:58:27 -07:00
ufs scsi: ufs: Export regulator functions 2022-06-16 22:08:44 -04:00
vdso
video video: fbdev: radeon: Fix spelling typo in comment 2022-05-26 13:38:59 +02:00
xen xen: branch for v5.19-rc1b 2022-06-04 13:42:53 -07:00