]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79ef051ddec13056de4e60b82dfa46a4e618273f
tree65df6e5d99256fe3d68a5b2ef2ee66e99779b1da
parente101219b77ad0229aa957c0fa63f579dac5d8cf1
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