t/zbd: Fix a bug in reset_zone() for all zones reset
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Mon, 13 Apr 2020 08:32:59 +0000 (17:32 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 13 Apr 2020 14:22:12 +0000 (08:22 -0600)
commit63a52199be6061560476353cdabe01a9458657d4
treec23a22269fd995144aa5b7771aba5c6624f0123c
parente80190b4d71199b3508f06509ac978539b3f76b6
t/zbd: Fix a bug in reset_zone() for all zones reset

The bash function reset_zone() is expected to reset all zones when -1 is
provided as its second argument. However, it fails to reset all zones
using blkzone command because of wrong and unnecessary options provided
to blkzone. Remove the option to fix it.

This failure was found with running test-zbd-support with -r option.

Reviewed-by: Damien Le Moal <damien.lemoaal@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/zbd/functions