summaryrefslogtreecommitdiffstats
path: root/drivers/target/Makefile
diff options
context:
space:
mode:
authorAnastasia Kovaleva <a.kovaleva@yadro.com>2022-11-14 13:24:59 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-11-24 02:16:19 +0000
commit9375031ee40b66c8fd2fc24d5fbea47b69f53de6 (patch)
tree839819081fd59b57daa9fcd4324aee787ae5d40b /drivers/target/Makefile
parent7870d24817890bccee98db0718acececd6399d04 (diff)
downloadlinux-9375031ee40b66c8fd2fc24d5fbea47b69f53de6.tar.gz
linux-9375031ee40b66c8fd2fc24d5fbea47b69f53de6.tar.bz2
linux-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 <k.shelekhin@yadro.com> Reviewed-by: Dmitriy Bogdanov <d.bogdanov@yadro.com> Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com> Link: https://lore.kernel.org/r/20221114102500.88892-3-a.kovaleva@yadro.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/Makefile')
0 files changed, 0 insertions, 0 deletions