diff options
| author | John Pittman <[email protected]> | 2020-09-02 17:14:34 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-02 22:49:54 -0400 |
| commit | 8c6572356646f700e1679d8f7eb2ab3a4eab678c (patch) | |
| tree | 251a04d81c0b23c915b9b45a486522fec355bd36 /tools/perf/scripts/python/flamegraph.py | |
| parent | 979e0dc3457cc95e48920ff5ca901a5821ef57d8 (diff) | |
scsi: scsi_debug: Make sdebug_build_parts() respect virtual_gb
If virtual_gb is passed while using num_parts, when creating the
partitions, virtual_gb is not respected. Set num_sectors using
get_sdebug_capacity() to pull virtual_gb if set.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: John Pittman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions