aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohn Pittman <jpittman@redhat.com>2020-09-02 17:14:34 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2020-09-02 22:49:54 -0400
commit8c6572356646f700e1679d8f7eb2ab3a4eab678c (patch)
tree251a04d81c0b23c915b9b45a486522fec355bd36 /tools/perf/scripts/python/stackcollapse.py
parentscsi: scsi_debug: Adjust num_parts to create equally sized partitions (diff)
downloadlinux-8c6572356646f700e1679d8f7eb2ab3a4eab678c.tar.gz
linux-8c6572356646f700e1679d8f7eb2ab3a4eab678c.zip
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/20200902211434.9979-3-jpittman@redhat.com Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: John Pittman <jpittman@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions