FTL library is consuming whole OCSSD device so punit parameter is not needed for bdev ftl configuration. Change-Id: I56f62ea6d09b3157b70c02ccfffcd3cb07ba4597 Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467950 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
20 lines
575 B
Bash
Executable File
20 lines
575 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../..)
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
tests=('-q 1 -w randwrite -t 4 -o 69632' '-q 128 -w randwrite -t 4 -o 4096' '-q 128 -w verify -t 4 -o 4096')
|
|
device=$1
|
|
ftl_bdev_conf=$testdir/config/ftl.conf
|
|
|
|
$rootdir/scripts/gen_ftl.sh -a $device -n nvme0 > $ftl_bdev_conf
|
|
|
|
for (( i=0; i<${#tests[@]}; i++ )) do
|
|
timing_enter "${tests[$i]}"
|
|
$rootdir/test/bdev/bdevperf/bdevperf -c $ftl_bdev_conf ${tests[$i]}
|
|
timing_exit "${tests[$i]}"
|
|
done
|
|
|
|
report_test_completion ftl_bdevperf
|