diff options
author | Anastasia Kovaleva <[email protected]> | 2022-11-14 13:24:58 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-11-24 02:16:19 +0000 |
commit | 7870d24817890bccee98db0718acececd6399d04 (patch) | |
tree | bf71aa545dd5c96450f3b7c0a6f63ada1ca82c45 /scripts/gdb/linux/proc.py | |
parent | cdd9344e00b4fe3a4683a0ee58826c7a5ce778e0 (diff) |
scsi: target: core: Send max transfer length in blocks
A MAXIMUM TRANSFER LENGTH value indicates the maximum transfer length in
logical blocks that the device server accepts for a single command. Fix
function sending the length in sectors instead of blocks.
This patch also removes the special casing for fileio in block_size_store
since this logic in now unified in spc_emulate_evpd_b0() for all backends.
Reviewed-by: Konstantin Shelekhin <[email protected]>
Reviewed-by: Dmitriy Bogdanov <[email protected]>
Signed-off-by: Anastasia Kovaleva <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions