]> www.infradead.org Git - users/hch/blktests.git/commit
common/scsi_debug: prepare scsi_debug in zoned mode
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Wed, 30 Mar 2022 01:32:11 +0000 (10:32 +0900)
committerOmar Sandoval <osandov@fb.com>
Mon, 9 May 2022 19:11:16 +0000 (12:11 -0700)
commit6af3634417b1722884f1bcf65d78e386dec30e20
tree9f8c96d835fa8d6eb06da657340d0db76e0f1e7d
parenta2737bbd421af97420115e2cc0d4d915ce30fe50
common/scsi_debug: prepare scsi_debug in zoned mode

To allow running tests using scsi_debug device with the zoned mode
disabled (current setup) as well as enabled, modify the _init_scsi_debug
helper function. When RUN_FOR_ZONED is set, specify zbc=host-managed
parameter to scsi_debug module so that the scsi_debug devices are
prepared in zoned mode.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
common/scsi_debug