mbox series

[00/18] target: TMF and recovery fixes

Message ID 20230309223312.94595-1-michael.christie@oracle.com (mailing list archive)
Headers show
Series target: TMF and recovery fixes | expand

Message

Mike Christie March 9, 2023, 10:32 p.m. UTC
The following patches apply over Martin's 6.4 branches and Linus's tree.
They fix a couple regressions/bugs in iscsit that occur when there are
multiple sessions accessing the same se_device and TMRs are executing and
a connection is closed. And they fix some bugs in isert for the single
session case when there are TMRs executing and the connection is closed.
It also includes Dimitry's fix for cmd cleanup when ERL2 is used.

v4:
- Fix
[PATCH v3 07/14] scsi: target: Fix multiple LUN_RESET handling
so it doesn't add back the bug where resets can wait on each other
and deadlock.
- Updated
[PATCH v3 06/14] scsi: target: iscsit: Fix TAS handling during conn
so it handles the case where commands have passed the STOP checks and
have not yet hit them.
- Added patch to handle another hang found while testnig where we wait
on the free_compl but never drop a ref due to being in the wrong state.
v3:
- Drop patch "iscsit: Fix isert disconnect handling during login"
- Add patch to drop cmd lock in completion callout
- Add patch to clean up recovery commands earlier when ERL2 is used
- Add patch to handle use-after-free in isert
v2:
- Fix wait/stop use during login failures
- Add patches to support isert