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 <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/381623
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Karol Latecki 2017-10-06 08:58:42 +02:00 committed by Jim Harris
parent 36a8f75006
commit d348d7e590

View File

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