t/zbd: Support testing zone capacity smaller than zone size with null_blk
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 17 Jul 2020 09:36:36 +0000 (18:36 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jul 2020 15:17:35 +0000 (09:17 -0600)
commitb6b64bfec2dd4ce7db64c57ecf771bb7b2f105f6
tree64a03ce4040da0a135c6bce2b92f3b5819770291
parentd7c7539faf5f1c23962590f80b40dafe2d232207
t/zbd: Support testing zone capacity smaller than zone size with null_blk

To test zone capacity support by fio using null_blk, add -zone-cap option
to run-tests-against-zoned-nullb. With this option, the script creates a
null_blk device which has zone capacity smaller than zone size and run
test-zbd-support script for the device.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/zbd/run-tests-against-zoned-nullb