aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_xcopy.c
diff options
context:
space:
mode:
authorAnastasia Kovaleva <[email protected]>2022-11-14 10:24:59 +0000
committerMartin K. Petersen <[email protected]>2022-11-24 02:16:19 +0000
commit9375031ee40b66c8fd2fc24d5fbea47b69f53de6 (patch)
tree839819081fd59b57daa9fcd4324aee787ae5d40b /drivers/target/target_core_xcopy.c
parentscsi: target: core: Send max transfer length in blocks (diff)
downloadkernel-9375031ee40b66c8fd2fc24d5fbea47b69f53de6.tar.gz
kernel-9375031ee40b66c8fd2fc24d5fbea47b69f53de6.zip
scsi: target: core: Make hw_max_sectors store the sectors amount in blocks
By default, hw_max_sectors stores its value in 512 blocks in iblock, despite the fact that the block size can be 4096 bytes. Change hw_max_sectors to store the number of sectors in hw_block_size blocks. 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 'drivers/target/target_core_xcopy.c')
0 files changed, 0 insertions, 0 deletions