Mike Christie becd9be606 scsi: target: Move sess cmd counter to new struct
iSCSI needs to wait on outstanding commands like how SRP and the FC/FCoE
drivers do. It can't use target_stop_session() because for MCS support we
can't stop the entire session during recovery because if other connections
are OK then we want to be able to continue to execute I/O on them.

Move the per session cmd counters to a new struct so iSCSI can allocate
them per connection. The xcopy code can also just not allocate in the
future since it doesn't need to track commands.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230319015620.96006-2-michael.christie@oracle.com
Reviewed-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-03-24 17:32:22 -04:00
..
2023-03-05 10:49:37 -08:00
2023-02-24 12:58:55 -08:00
2023-02-27 10:04:49 -08:00
2023-02-15 12:33:28 -05:00
2023-02-26 11:47:26 -08:00
2023-03-03 14:41:50 -08:00
2023-03-04 10:53:59 -08:00
2023-02-27 16:18:51 -08:00
2023-03-03 14:41:50 -08:00
2023-03-03 14:41:50 -08:00
2023-02-01 17:23:38 +01:00
2023-02-24 12:58:55 -08:00