test/virtio: Add vhost initiator tests for multisocket

test multiple devices simultaneously instead each device
individually

Change-Id: I514ee080a2a585a87c7bcfc2a10da89456b285a4
Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com>
Reviewed-on: https://review.gerrithub.io/393944
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
This commit is contained in:
Pawel Niedzwiecki 2018-01-08 16:35:02 +01:00 committed by Jim Harris
parent b251ebdd9d
commit 8d57f4da2a

View File

@ -81,14 +81,8 @@ create_bdev_config
timing_exit create_bdev_config
timing_enter run_spdk_fio
bdevs="VirtioScsi0t0:VirtioScsi1t0:VirtioScsi2t0"
IFS=':'
for bdev in $bdevs; do
run_spdk_fio $BDEV_FIO --filename="$bdev" \
--io_size=400m --size=100m --spdk_conf=$BASE_DIR/bdev.conf
done
run_spdk_fio $BDEV_FIO --filename=VirtioScsi0t0:VirtioScsi1t0:VirtioScsi2t0 \
--io_size=400m --size=100m --spdk_conf=$BASE_DIR/bdev.conf
timing_exit run_spdk_fio
timing_enter run_spdk_fio_4G