[PATCH 0/1] [bionic hwe kernel] scsi: Revert "target/core: Inline transport_lun_remove_cmd()"
Pavel Zakharov
pavel.zakharov at delphix.com
Fri Feb 28 21:16:41 UTC 2020
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1862682
Disclaimer: First time submitting patch to Ubuntu kernel team, so apologies if
the formatting is not correct. I’ve used the mailing list archives and
https://wiki.ubuntu.com/Kernel/Dev/KernelPatches for reference.
iSCSI LUN deletion hangs because a reference is not dropped on the LUN being
deleted until another command is sent from the same initiator. This was
introduced in 5.3 because of code simplification. Note: this patch is for
the hwe kernel for bionic.
[Impact]
This greatly affects iSCSI Target workflows that regularly create and destroy
LUNs.
[Fix]
Revert the code simplification as it is incompatible with the iSCSI target
driver.
[Test]
Verified that reverting the original code resolves the hang when deleting iSCSI
LUNs.
[Regression Risk]
Very low. There are no code dependencies on the original code simplification.
Bart Van Assche:
scsi: Revert "target/core: Inline transport_lun_remove_cmd()"
drivers/target/target_core_transport.c | 31 ++++++++++++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)
--
2.21.1 (Apple Git-122.3)
More information about the kernel-team
mailing list