diff options
author | Mike Christie <[email protected]> | 2023-03-18 20:56:13 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-03-24 17:32:23 -0400 |
commit | 4edba7e4a8f39112398d3cda94128a8e13a7d527 (patch) | |
tree | f9ba054f1511293f229e05bf999a801f699fe621 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | becd9be6069e7b183c084f460f0eb363e43cc487 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions