test/iscsi_tgt: specify reactor mask from command line
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I1a4d9fd8940e17b2e4854edbe09ee5fe6fd62edb Reviewed-on: https://review.gerrithub.io/362596 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
4b521e1720
commit
d67536f6b5
@ -28,7 +28,7 @@ mkdir -p /usr/local/etc
|
||||
cp $testdir/its.conf /usr/local/etc/
|
||||
cp $testdir/auth.conf /usr/local/etc/
|
||||
|
||||
$ISCSI_APP -c $testdir/iscsi.conf &
|
||||
$ISCSI_APP -c $testdir/iscsi.conf -m 0x1 &
|
||||
pid=$!
|
||||
echo "Process pid: $pid"
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
[Global]
|
||||
ReactorMask 0x1
|
||||
LogFacility "local7"
|
||||
|
||||
[iSCSI]
|
||||
|
@ -18,7 +18,7 @@ MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="python $rootdir/scripts/rpc.py"
|
||||
|
||||
$ISCSI_APP -c $testdir/iscsi.conf &
|
||||
$ISCSI_APP -c $testdir/iscsi.conf -m 0xFFFF &
|
||||
pid=$!
|
||||
echo "Process pid: $pid"
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
[Global]
|
||||
ReactorMask 0xFFFF
|
||||
LogFacility "local7"
|
||||
|
||||
[iSCSI]
|
||||
|
@ -13,7 +13,7 @@ RPC_PORT=5260
|
||||
|
||||
fio_py="python $rootdir/scripts/fio.py"
|
||||
|
||||
$ISCSI_APP -c $testdir/iscsi.conf &
|
||||
$ISCSI_APP -c $testdir/iscsi.conf -m 0xFFFF &
|
||||
pid=$!
|
||||
echo "Process pid: $pid"
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
[Global]
|
||||
ReactorMask 0xFFFF
|
||||
LogFacility "local7"
|
||||
|
||||
[iSCSI]
|
||||
|
@ -41,7 +41,8 @@ do
|
||||
cp $testdir/iscsi.conf $testdir/iscsi.conf.$i
|
||||
port=$(($RPC_PORT + $i))
|
||||
echo "Listen 127.0.0.1:$port" >> $testdir/iscsi.conf.$i
|
||||
$ISCSI_APP -c $testdir/iscsi.conf.$i -s 1000 -i $i &
|
||||
# TODO: run the different iSCSI instances on non-overlapping CPU masks
|
||||
$ISCSI_APP -c $testdir/iscsi.conf.$i -s 1000 -i $i -m 0xFFFF &
|
||||
pid=$!
|
||||
echo "Process pid: $pid"
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
[Global]
|
||||
ReactorMask 0xFFFF
|
||||
LogFacility "local7"
|
||||
|
||||
[iSCSI]
|
||||
|
@ -1,5 +1,4 @@
|
||||
[Global]
|
||||
ReactorMask 0xFFFF
|
||||
LogFacility "local7"
|
||||
|
||||
[iSCSI]
|
||||
|
@ -27,7 +27,7 @@ NETMASK=$INITIATOR_IP/32
|
||||
rpc_py="python $rootdir/scripts/rpc.py"
|
||||
fio_py="python $rootdir/scripts/fio.py"
|
||||
|
||||
$ISCSI_APP -c $testdir/iscsi.conf &
|
||||
$ISCSI_APP -c $testdir/iscsi.conf -m 0xFFFF &
|
||||
pid=$!
|
||||
|
||||
trap "killprocess $pid; exit 1" SIGINT SIGTERM EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user