This is the second part of the scsi_debug updates implementing ZBC support on top of Doug "per_host_store+random parameters, compare" patch series. The ZBC emulation implemented allows to emulate both host-managed and host-aware disks with configurable zone size, number of conventional zones znd maximum number of open zones. One feature missing is the emulation of ZBC RC_BASIS which changes the behavior of the READ CAPACITY command. This is however not a critical point for testing as, to my knowledge, there are no disks using RC_BASIS on the market today. RC_BASIS emulation can thus be added as a later patch. The emulated devices, both host-aware and host-managed, pass libzbc ZBC conformance tests (SG interface) as well as zonefs tests (block layer interface). Damien Le Moal (4): scsi_debug: add zone_max_open module parameter scsi_debug: add zone_nr_conv module parameter scsi_debug: add zone_size_mb module parameter scsi_debug: implement zbc host-aware emulation Douglas Gilbert (3): scsi_debug: add zbc mode and VPD pages scsi_debug: add zbc zone commands scsi_debug: add zbc module parameter drivers/scsi/scsi_debug.c | 1016 ++++++++++++++++++++++++++++++++++++- 1 file changed, 993 insertions(+), 23 deletions(-) -- 2.25.3