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 <tomasz.zawadzki@intel.com>
Change-Id: Id5c2849a94b23e95bb222b8a70c538f392896a30
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3726
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Tomasz Zawadzki 2020-08-11 04:36:49 -04:00
parent d617125df2
commit ca65098591

View File

@ -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