From d348d7e590b70c80a7079207d2296f38827ee184 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Fri, 6 Oct 2017 08:58:42 +0200 Subject: [PATCH] test/iscsi: increase number of LUNs in lvol backend test Possible to create iSCSI target with multiple LUNs via RPC command after a fix. Increasing the number of created lvol LUNs for the test. Also decreasing FIO blocksize and iodepth parameters as more LUNs will spawn more processes. Change-Id: Ie3c953d3bff08db612f072aff6920b8624d4d3df Signed-off-by: Karol Latecki Reviewed-on: https://review.gerrithub.io/381623 Tested-by: SPDK Automated Test System Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris Reviewed-by: Daniel Verkamp --- test/iscsi_tgt/lvol/iscsi_lvol.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/iscsi_tgt/lvol/iscsi_lvol.sh b/test/iscsi_tgt/lvol/iscsi_lvol.sh index a9fe4ae5c5..15a6dd34af 100755 --- a/test/iscsi_tgt/lvol/iscsi_lvol.sh +++ b/test/iscsi_tgt/lvol/iscsi_lvol.sh @@ -42,7 +42,7 @@ for i in `seq 0 9`; do bdev=$($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE) ls_guid=$($rpc_py construct_lvol_store $bdev -c 1048576) LUNs="" - for j in `seq 0 0`; do + for j in `seq 0 9`; do lb_guid=$($rpc_py construct_lvol_bdev $ls_guid 10) LUNs+="$lb_guid:$j " done @@ -54,7 +54,7 @@ sleep 1 iscsiadm -m discovery -t sendtargets -p $TARGET_IP:$PORT iscsiadm -m node --login -p $TARGET_IP:$PORT -$fio_py 1048576 64 randwrite 10 verify +$fio_py 131072 8 randwrite 10 verify rm -f ./local-job0-0-verify.state trap - SIGINT SIGTERM EXIT