diff options
author | Anastasia Kovaleva <a.kovaleva@yadro.com> | 2022-11-14 13:24:59 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-11-24 02:16:19 +0000 |
commit | 9375031ee40b66c8fd2fc24d5fbea47b69f53de6 (patch) | |
tree | 839819081fd59b57daa9fcd4324aee787ae5d40b /tools/perf/scripts/python/export-to-postgresql.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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions