diff options
author | Anastasia Kovaleva <[email protected]> | 2022-11-14 13:24:59 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-11-24 02:16:19 +0000 |
commit | 9375031ee40b66c8fd2fc24d5fbea47b69f53de6 (patch) | |
tree | 839819081fd59b57daa9fcd4324aee787ae5d40b /scripts/gdb/linux/proc.py | |
parent | 7870d24817890bccee98db0718acececd6399d04 (diff) |
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions