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@xxxxxxxxxxxxx> Cc: Martin Petersen <martin.petersen@xxxxxxxxxx> Cc: Douglas Gilbert <dgilbert@xxxxxxxxxxxx> Cc: David Jeffery <djeffery@xxxxxxxxxx> Cc: Laurence Oberman <loberman@xxxxxxxxxx>