From ca6509859175e10dfe73dc42789d908a186615df Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Tue, 11 Aug 2020 04:36:49 -0400 Subject: [PATCH] test/fio: enable QoS with fio JSON config Test steps were disabled due to issue #1146. Which has since been resolved by patch: (991a56f) fio: Continue polling spdk_threads on the init thread after shutdown Signed-off-by: Tomasz Zawadzki Change-Id: Id5c2849a94b23e95bb222b8a70c538f392896a30 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3726 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto Reviewed-by: GangCao Reviewed-by: Changpeng Liu --- test/bdev/blockdev.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index 12d9c6f52..dee69e3fe 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -40,9 +40,8 @@ function setup_bdev_conf() { bdev_passthru_create -p TestPT -b Malloc3 bdev_raid_create -n raid0 -z 64 -r 0 -b "Malloc4 Malloc5" RPC - # FIXME: QoS doesn't work properly with json_config, see issue 1146 - #$rpc_py bdev_set_qos_limit --rw_mbytes_per_sec 100 Malloc3 - #$rpc_py bdev_set_qos_limit --rw_ios_per_sec 20000 Malloc0 + $rpc_py bdev_set_qos_limit --rw_mbytes_per_sec 100 Malloc3 + $rpc_py bdev_set_qos_limit --rw_ios_per_sec 20000 Malloc0 if [[ $(uname -s) != "FreeBSD" ]]; then dd if=/dev/zero of="$SPDK_TEST_STORAGE/aiofile" bs=2048 count=5000 "$rpc_py" bdev_aio_create "$SPDK_TEST_STORAGE/aiofile" AIO0 2048