The option experimental_verify does not work with zonemode=zbd. Add a test case to check that fio errors out when the both options are specified. Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> --- t/zbd/test-zbd-support | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index ce4a5916..7f5e9b1f 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -1289,6 +1289,14 @@ test59() { >> "${logfile}.${test_number}" 2>&1 || return $? } +# Test fio erros out experimental_verify option with zonemode=zbd. +test60() { + run_fio_on_seq "$(ioengine "psync")" --rw=write --size=$zone_size \ + --do_verify=1 --verify=md5 --experimental_verify=1 \ + >> "${logfile}.${test_number}" 2>&1 && return 1 + grep -q 'not support experimental verify' "${logfile}.${test_number}" +} + SECONDS=0 tests=() dynamic_analyzer=() -- 2.37.1