0911aa83fb
The bdevperf reset test only executes in the nightly test run, so this problem wasn't caught during review. It gets stuck in an infinite loop and produces lots of log output; turn it off to avoid filling up the disk with logs until we determine what broke it. Change-Id: I7601ba324a0531de3733cf5784ccd46da5618082 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
43 lines
1.1 KiB
Bash
Executable File
43 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../../..)
|
|
source $rootdir/scripts/autotest_common.sh
|
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
|
|
timing_enter blockdev
|
|
|
|
cp $testdir/bdev.conf.in $testdir/bdev.conf
|
|
$rootdir/scripts/gen_nvme.sh >> $testdir/bdev.conf
|
|
|
|
timing_enter bounds
|
|
$testdir/bdevio/bdevio $testdir/bdev.conf
|
|
timing_exit bounds
|
|
|
|
timing_enter verify
|
|
$testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 32 -s 4096 -w verify -t 1
|
|
timing_exit verify
|
|
|
|
if [ $RUN_NIGHTLY -eq 1 ]; then
|
|
# Use size 192KB which both exceeds typical 128KB max NVMe I/O
|
|
# size and will cross 128KB Intel DC P3700 stripe boundaries.
|
|
timing_enter perf
|
|
$testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 128 -w read -s 196608 -t 5
|
|
timing_exit perf
|
|
|
|
# Temporarily disabled - infinite loop
|
|
#timing_enter reset
|
|
#$testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 16 -w reset -s 4096 -t 60
|
|
#timing_exit reset
|
|
|
|
timing_enter unmap
|
|
$testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 1 -w unmap -s 4096 -t 60
|
|
timing_exit unmap
|
|
fi
|
|
|
|
rm -f $testdir/bdev.conf
|
|
timing_exit blockdev
|