scsi: scsi_debug: Add ZBC zone commands
authorDouglas Gilbert <dgilbert@interlog.com>
Wed, 22 Apr 2020 10:42:16 +0000 (19:42 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 May 2020 04:37:30 +0000 (00:37 -0400)
commitf0d1cf9378bd4030725efa4c154cd39383dd0c12
tree3cb3fb3233b5f4bc93c1021e9d3e984d1d263cec
parentd36da3058ced5fc1513df60dc4c4716280c59267
scsi: scsi_debug: Add ZBC zone commands

Add support for the 5 ZBC commands and enough functionality to emulate a
host-managed device with one conventional zone and a set of sequential
write-required zones up to the disk capacity.

Link: https://lore.kernel.org/r/20200422104221.378203-3-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