autotest_common.sh: change rpc_py to rpc_cmd
Change rpc_py to use rpc_cmd function. The former needs to be defined explicitly in the scripts that uses function, while the latter is a function already available in autotest_common.sh. Additionally delete unnecessary rpc_py declarations and override rpc_cmd where additional arguments are needed (like -s sock_name.sock). Change-Id: I835f7eb308cd77658a2a425e153ab7ca460b5b61 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12872 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
4cbd23e28b
commit
eaebf84102
@ -3,12 +3,13 @@
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../..)
|
||||
rpc_server=/var/tmp/spdk-raid.sock
|
||||
rpc_py="$rootdir/scripts/rpc.py -s $rpc_server"
|
||||
tmp_file=$SPDK_TEST_STORAGE/raidrandtest
|
||||
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $testdir/nbd_common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py -s $rpc_server"
|
||||
|
||||
function raid_unmap_data_verify() {
|
||||
if hash blkdiscard; then
|
||||
local nbd=$1
|
||||
|
@ -9,7 +9,6 @@ fi
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
truncate -s 64M $testdir/aio.bdev
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rpc_py=rpc_cmd
|
||||
|
||||
function xtrace_fd() {
|
||||
if [[ -n $BASH_XTRACEFD && -e /proc/self/fd/$BASH_XTRACEFD ]]; then
|
||||
# Close it first to make sure it's sane
|
||||
|
@ -5,10 +5,10 @@ set -e
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../..)
|
||||
plugindir=$rootdir/examples/bdev/fio_plugin
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
source "$rootdir/scripts/common.sh"
|
||||
source "$rootdir/test/common/autotest_common.sh"
|
||||
source "$rootdir/test/nvmf/common.sh"
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function error_cleanup() {
|
||||
# force delete pmem file and wipe on-disk metadata
|
||||
|
@ -4,7 +4,6 @@ testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
MEM_SCRIPT="$rootdir/scripts/dpdk_mem_info.py"
|
||||
|
||||
"${SPDK_APP[@]}" &
|
||||
|
@ -22,8 +22,6 @@ timing_enter iscsi_fuzz_test
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=4096
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
TEST_TIMEOUT=1200
|
||||
|
||||
# This argument is used in addition to the test arguments in autotest_common.sh
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
TEST_TIMEOUT=1200
|
||||
|
||||
# This argument is used in addition to the test arguments in autotest_common.sh
|
||||
|
@ -10,8 +10,6 @@ iscsitestinit
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
||||
"${ISCSI_APP[@]}" -m 0x2 -p 1 -s 512 --wait-for-rpc &
|
||||
|
@ -46,7 +46,6 @@ function iscsi_header_data_digest_test() {
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
@ -7,7 +7,6 @@ source $rootdir/test/iscsi_tgt/common.sh
|
||||
|
||||
iscsitestinit
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
node_base="iqn.2013-06.com.intel.ch.spdk"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
@ -9,7 +9,6 @@ source $rootdir/scripts/common.sh
|
||||
|
||||
iscsitestinit
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
# Remove lvol bdevs and stores.
|
||||
function remove_backends() {
|
||||
echo "INFO: Removing lvol bdev"
|
||||
|
@ -54,7 +54,6 @@ fi
|
||||
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=4096
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
|
@ -22,8 +22,6 @@ timing_enter iscsi_fuzz
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=4096
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
||||
"${ISCSI_APP[@]}" -m $ISCSI_TEST_CORE_MASK --wait-for-rpc &
|
||||
|
@ -10,8 +10,6 @@ iscsitestinit
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
||||
"${ISCSI_APP[@]}" -m 0x2 -p 1 -s 512 --wait-for-rpc &
|
||||
|
@ -7,7 +7,6 @@ source $rootdir/test/iscsi_tgt/common.sh
|
||||
|
||||
iscsitestinit
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
pids=()
|
||||
|
||||
|
@ -7,7 +7,6 @@ source $rootdir/test/iscsi_tgt/common.sh
|
||||
|
||||
iscsitestinit
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
CONNECTION_NUMBER=30
|
||||
|
@ -9,7 +9,6 @@ source $rootdir/test/iscsi_tgt/common.sh
|
||||
nvmftestinit
|
||||
iscsitestinit
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
# Namespaces are NOT used here on purpose. Rxe_cfg utility used for NVMf tests do not support namespaces.
|
||||
|
@ -12,7 +12,6 @@ PMEM_SIZE=128
|
||||
PMEM_BLOCK_SIZE=512
|
||||
TGT_NR=10
|
||||
PMEM_PER_TGT=1
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
timing_enter start_iscsi_target
|
||||
|
@ -52,7 +52,6 @@ MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
IOPS_RESULT=
|
||||
BANDWIDTH_RESULT=
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
@ -12,7 +12,6 @@ rbd_setup $TARGET_IP $TARGET_NAMESPACE
|
||||
trap 'rbd_cleanup; exit 1' SIGINT SIGTERM EXIT
|
||||
timing_exit rbd_setup
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
@ -10,7 +10,6 @@ iscsitestinit
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
fio_py="$rootdir/scripts/fio-wrapper"
|
||||
|
||||
if ! hash sg_reset; then
|
||||
|
@ -12,8 +12,6 @@ BDEV_NEW_SIZE=128
|
||||
BLOCK_SIZE=512
|
||||
RESIZE_SOCK="/var/tmp/spdk-resize.sock"
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
timing_enter start_iscsi_tgt
|
||||
|
||||
# Remove the sock file first
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
export TEST_TRANSPORT=VFIOUSER
|
||||
|
||||
rm -rf /var/run/vfio-user
|
||||
|
@ -4,7 +4,6 @@ set -e
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../..)
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
source "$rootdir/scripts/common.sh"
|
||||
source "$rootdir/test/common/autotest_common.sh"
|
||||
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function tgt_init() {
|
||||
nvmfappstart -m 0xF
|
||||
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
if [ "$TEST_TRANSPORT" == "rdma" ]; then
|
||||
echo "Skipping tests on RDMA because the rdma stack fails to configure the same IP for host and target."
|
||||
exit 0
|
||||
|
@ -12,7 +12,6 @@ fi
|
||||
MALLOC_BDEV_SIZE=256
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
subsystem="0"
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function gen_malloc_json() {
|
||||
jq . <<- JSON
|
||||
|
@ -6,8 +6,6 @@ source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/scripts/common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
if [[ $CONFIG_FIO_PLUGIN != y ]]; then
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
timing_enter start_nvmf_tgt
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
NVMF_HOST_FIRST_PORT="60000"
|
||||
|
@ -10,8 +10,6 @@ PLUGIN_DIR=$rootdir/examples/nvme/fio_plugin
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function disconnect_init() {
|
||||
nvmfappstart -m 0xF0
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=4096
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xE
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF --wait-for-rpc
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
# Don't use cores 0 - 2 to avoid overlap with bdevio.
|
||||
nvmfappstart -m 0x78
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
# connect disconnect is geared towards ensuring that we are properly freeing resources after disconnecting qpairs.
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xE
|
||||
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0x3
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
NULL_BDEV_SIZE=102400
|
||||
NULL_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
if ! hash nvme; then
|
||||
echo "nvme command not found; skipping discovery test"
|
||||
exit 0
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
"${NVMF_APP[@]}" -m 0x1 > $output_dir/nvmf_fuzz_tgt_output.txt 2>&1 &
|
||||
|
@ -9,8 +9,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=128
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
function nvmf_filesystem_create() {
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0x2
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function starttarget() {
|
||||
# Start the target
|
||||
nvmfappstart -m 0x1E
|
||||
|
@ -6,8 +6,6 @@ source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
source $rootdir/scripts/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
timing_enter nvme_identify
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF
|
||||
|
||||
|
@ -10,8 +10,6 @@ MALLOC_BLOCK_SIZE=512
|
||||
|
||||
NVMF_SUBSYS=11
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart -m 0xF
|
||||
|
||||
|
@ -13,7 +13,6 @@ fi
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
devs=()
|
||||
|
||||
nvmftestinit
|
||||
|
@ -5,8 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
NVMF_EXAMPLE=("$SPDK_EXAMPLE_DIR/nvmf")
|
||||
|
||||
MALLOC_BDEV_SIZE=64
|
||||
|
@ -12,7 +12,6 @@ if ((${#TCP_INTERFACE_LIST[@]} == 0)); then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
perf="$SPDK_EXAMPLE_DIR/perf"
|
||||
|
||||
function adq_configure_driver() {
|
||||
|
@ -10,8 +10,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
bdevperf_rpc_sock=/var/tmp/bdevperf.sock
|
||||
|
||||
nvmftestinit
|
||||
|
@ -5,7 +5,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
loops=5
|
||||
|
||||
function jcount() {
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
function starttarget() {
|
||||
nvmftestinit
|
||||
|
||||
|
@ -8,8 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
|
||||
nvmfappstart -m 0xF
|
||||
|
@ -8,7 +8,6 @@ source $rootdir/test/nvmf/common.sh
|
||||
MALLOC_BDEV_SIZE=64
|
||||
MALLOC_BLOCK_SIZE=512
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
nqn=nqn.2021-09.io.spdk:cnode0
|
||||
traddr=/var/run/vfio-user
|
||||
|
||||
|
@ -6,8 +6,6 @@ rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/nvmf/common.sh
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
nvmftestinit
|
||||
nvmfappstart
|
||||
|
||||
|
@ -5,7 +5,6 @@ rootdir=$(readlink -f $curdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
|
||||
bdevperf=$rootdir/test/bdev/bdevperf/bdevperf
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
source "$curdir/mallocs.conf"
|
||||
$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w flush
|
||||
|
@ -5,7 +5,6 @@ rootdir=$(readlink -f $curdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
|
||||
bdevperf=$rootdir/test/bdev/bdevperf/bdevperf
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
source "$curdir/mallocs.conf"
|
||||
$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -w write -t 120 -r /var/tmp/spdk.sock &
|
||||
|
@ -6,8 +6,8 @@ rootdir=$(readlink -f "$testdir/../..")
|
||||
source "$rootdir/test/common/autotest_common.sh"
|
||||
source "$testdir/common.sh"
|
||||
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
sma_py="$rootdir/scripts/sma-client.py"
|
||||
rpc_py="$rootdir/scripts/rpc.py"
|
||||
|
||||
t1sock='/var/tmp/spdk.sock1'
|
||||
t2sock='/var/tmp/spdk.sock2'
|
||||
|
Loading…
Reference in New Issue
Block a user