summaryrefslogtreecommitdiff
path: root/net/sched/em_u32.c
diff options
context:
space:
mode:
authorWu Bo <wubo40@huawei.com>2020-03-24 15:58:50 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-02 17:20:30 +0200
commitd3e67727ec572a97355eae31e1b4dd3734f95f93 (patch)
tree700590c77f0643fd8cf2deb7ed51670f7838ff44 /net/sched/em_u32.c
parent20ea00cb261b57b0685f450f4134b34c6e9d67bb (diff)
scsi: iscsi: Report unbind session event when the target has been removed
[ Upstream commit 13e60d3ba287d96eeaf1deaadba51f71578119a3 ] If the daemon is restarted or crashes while logging out of a session, the unbind session event sent by the kernel is not processed and is lost. When the daemon starts again, the session can't be unbound because the daemon is waiting for the event message. However, the kernel has already logged out and the event will not be resent. When iscsid restart is complete, logout session reports error: Logging out of session [sid: 6, target: iqn.xxxxx, portal: xx.xx.xx.xx,3260] iscsiadm: Could not logout of [sid: 6, target: iscsiadm -m node iqn.xxxxx, portal: xx.xx.xx.xx,3260]. iscsiadm: initiator reported error (9 - internal error) iscsiadm: Could not logout of all requested sessions Make sure the unbind event is emitted. [mkp: commit desc and applied by hand since patch was mangled] Link: https://lore.kernel.org/r/4eab1771-2cb3-8e79-b31c-923652340e99@huawei.com Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Wu Bo <wubo40@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/sched/em_u32.c')
0 files changed, 0 insertions, 0 deletions