scsi: scsi_debug: Add zone_nr_conv module parameter
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 22 Apr 2020 10:42:19 +0000 (19:42 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 May 2020 04:37:32 +0000 (00:37 -0400)
commitaa8fecf96b704adfd2ee2b6c76248c1f1cb237ef
tree65df6e5d99256fe3d68a5b2ef2ee66e99779b1da
parent380603a5bb83d3c55eee20511ba3091e206b7d99
scsi: scsi_debug: Add zone_nr_conv module parameter

Allow controlling the number of conventional zones of a ZBC device with the
new zone_nr_conv module parameter. The default value is 1 and the specified
value must be less than the total number of zones of the device. This
parameter is ignored for device types other than 0x14 (zbc=2 case).

Link: https://lore.kernel.org/r/20200422104221.378203-6-damien.lemoal@wdc.com
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c