OCF: tests: add flush and unmap test
Add test for flush and unmap IO types We test correctness with bdevperf -w by watching if any errors produced during its run Change-Id: I07dcda5b976aa0d23e75ef2a312dd9780c6c39f3 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/439647 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
bc16c9320f
commit
c61be1af59
10
test/ocf/integrity/bdevperf-iotypes.sh
Executable file
10
test/ocf/integrity/bdevperf-iotypes.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
curdir=$(dirname $(readlink -f "$BASH_SOURCE"))
|
||||
rootdir=$(readlink -f $curdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
|
||||
bdevperf=$rootdir/test/bdev/bdevperf/bdevperf
|
||||
|
||||
$bdevperf -c $curdir/mallocs.conf -q 128 -o 4096 -t 4 -w flush
|
||||
$bdevperf -c $curdir/mallocs.conf -q 128 -o 4096 -t 4 -w unmap
|
@ -15,5 +15,6 @@ function suite()
|
||||
timing_enter ocf
|
||||
|
||||
suite "$testdir/integrity/fio-mallocs.sh"
|
||||
suite "$testdir/integrity/bdevperf-iotypes.sh"
|
||||
|
||||
timing_exit ocf
|
||||
|
Loading…
Reference in New Issue
Block a user