linux/include/target
Mike Christie 4edba7e4a8 scsi: target: Move cmd counter allocation
iSCSI needs to allocate its cmd counter per connection for MCS support
where we need to stop and wait on commands running on a connection instead
of per session. This moves the cmd counter allocation to
target_setup_session() which is used by drivers that need the stop+wait
behavior per session.

xcopy doesn't need stop+wait at all, so we will be OK moving the cmd
counter allocation outside of transport_init_session().

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230319015620.96006-3-michael.christie@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-03-24 17:32:23 -04:00
..
iscsi scsi: target: Move sess cmd counter to new struct 2023-03-24 17:32:22 -04:00
target_core_backend.h scsi: target: Add callout to configure UNMAP settings 2022-07-07 16:53:52 -04:00
target_core_base.h scsi: target: Move sess cmd counter to new struct 2023-03-24 17:32:22 -04:00
target_core_fabric.h scsi: target: Move cmd counter allocation 2023-03-24 17:32:23 -04:00