mbox series

[v5,0/9] target: TMF and recovery fixes

Message ID 20230319015620.96006-1-michael.christie@oracle.com
Headers show
Series target: TMF and recovery fixes | expand

Message

Mike Christie March 19, 2023, 1:56 a.m. UTC
The following patches apply over Martin's 6.4 branches and Linus's tree.
They fix a couple regressions in iscsit that occur when there are TMRs
executing and a connection is closed. It also includes Dimitry's fixes in
related code paths for cmd cleanup when ERL2 is used and the write pending
hang during conn cleanup.

This version of the patchset brings it back to just regressions and fixes
for bugs we have a lot of users hitting. I'm going to fix isert and get it
hooked into iscsit properly in a second patchset, because this one was
getting so large. I've also moved my cleanup type of patches for a 3rd
patchset.

v5:
- Fix
scsi: target: Fix multiple LUN_RESET handling
so we don't execute a reset before it's submited.
- Move isert changes to separate patchset.
- Add write pending fix.
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

Comments

Martin K. Petersen March 24, 2023, 9:40 p.m. UTC | #1
Mike,

> The following patches apply over Martin's 6.4 branches and Linus's
> tree.  They fix a couple regressions in iscsit that occur when there
> are TMRs executing and a connection is closed. It also includes
> Dimitry's fixes in related code paths for cmd cleanup when ERL2 is
> used and the write pending hang during conn cleanup.
>
> This version of the patchset brings it back to just regressions and
> fixes for bugs we have a lot of users hitting. I'm going to fix isert
> and get it hooked into iscsit properly in a second patchset, because
> this one was getting so large. I've also moved my cleanup type of
> patches for a 3rd patchset.

Applied to 6.4/scsi-staging, thanks!