The test cases block/004, zbd/005 and zbd/006 do write to zoned block devices which require mq-deadline scheduler. When TEST_DEV is a bio based device-mapper, mq-deadline scheduler shall be set to destination devices. For this purpose, call _test_dev_set_scheduler instead of _test_dev_queue_set. Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> --- tests/block/004 | 2 +- tests/zbd/005 | 2 +- tests/zbd/006 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/block/004 b/tests/block/004 index a7cec95..63484a4 100755 --- a/tests/block/004 +++ b/tests/block/004 @@ -24,7 +24,7 @@ test_device() { local -a opts=() if _test_dev_is_zoned; then - _test_dev_queue_set scheduler deadline + _test_dev_set_scheduler deadline opts+=("--direct=1" "--zonemode=zbd") opts+=("--max_open_zones=$(_test_dev_max_open_active_zones)") fi diff --git a/tests/zbd/005 b/tests/zbd/005 index a7fb175..4aa1ab5 100755 --- a/tests/zbd/005 +++ b/tests/zbd/005 @@ -48,7 +48,7 @@ test_device() { blkzone reset -o "${ZONE_STARTS[zone_idx]}" "${TEST_DEV}" - _test_dev_queue_set scheduler deadline + _test_dev_set_scheduler deadline : "${TIMEOUT:=30}" FIO_PERF_FIELDS=("write io" "write iops") diff --git a/tests/zbd/006 b/tests/zbd/006 index b745acd..2db0e9b 100755 --- a/tests/zbd/006 +++ b/tests/zbd/006 @@ -38,7 +38,7 @@ test_device() { blkzone reset -o "${ZONE_STARTS[zone_idx]}" "${TEST_DEV}" - _test_dev_queue_set scheduler deadline + _test_dev_set_scheduler deadline : "${TIMEOUT:=30}" FIO_PERF_FIELDS=("write io" "write iops") -- 2.40.1