@@ -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
@@ -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")
@@ -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")
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@wdc.com> --- tests/block/004 | 2 +- tests/zbd/005 | 2 +- tests/zbd/006 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)