diff options
author | Mike Christie <michael.christie@oracle.com> | 2023-03-19 02:56:13 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 22:32:23 +0100 |
commit | 4edba7e4a8f39112398d3cda94128a8e13a7d527 (patch) | |
tree | f9ba054f1511293f229e05bf999a801f699fe621 /drivers/target/sbp | |
parent | scsi: target: Move sess cmd counter to new struct (diff) | |
download | linux-4edba7e4a8f39112398d3cda94128a8e13a7d527.tar.xz linux-4edba7e4a8f39112398d3cda94128a8e13a7d527.zip |
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>
Diffstat (limited to 'drivers/target/sbp')
0 files changed, 0 insertions, 0 deletions