mbox series

[v2,0/3] scsi_debug: improve num_parts usage

Message ID 20200902211434.9979-1-jpittman@redhat.com (mailing list archive)
Headers show
Series scsi_debug: improve num_parts usage | expand

Message

John Pittman Sept. 2, 2020, 9:14 p.m. UTC
Hello,

The 1st patch sets all partitions to the same size when using the
num_parts parameter.

The 2nd patch allows virtual_gb to be respected when it is passed at
the same time as num_parts.

v1 -> v2
1. Fix multiple variable assignments on one line (style issue)

John Pittman (2):
 scsi: scsi_debug: adjust num_parts to create equally sized partitions
 scsi: scsi_debug: sdebug_build_parts() respect virtual_gb

 scsi_debug.c |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Martin Petersen <martin.petersen@oracle.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Cc: David Jeffery <djeffery@redhat.com>
Cc: Laurence Oberman <loberman@redhat.com>