This patch introduces functional tests for FTL bdev. The tests cover various I/O workflows and check data integrity. Several scripts have been added to test the FTL library: * generate_config.sh - prepares configuration scripts for specified device * restore.sh - tests restoring device's state from the SSD * fio.sh - runs tests based on fio and fio_plugin The tests are run from autotest.sh when the SPDK_TEST_BDEV_FTL flag is set. Change-Id: I561d99ed35fe91eadd3756789cc99afe2da8c1db Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com> Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.gerrithub.io/c/431330 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
21 lines
277 B
Plaintext
21 lines
277 B
Plaintext
[global]
|
|
ioengine=spdk_bdev
|
|
spdk_conf=FTL_CONF_DIR/ftl.conf
|
|
thread=1
|
|
direct=1
|
|
iodepth=1
|
|
rw=randwrite
|
|
size=4G
|
|
verify=crc32c
|
|
do_verify=1
|
|
verify_dump=0
|
|
verify_state_save=0
|
|
verify_backlog=16
|
|
verify_fatal=1
|
|
bs=68k
|
|
filename=FTL_BDEV_NAME
|
|
random_distribution=normal
|
|
|
|
[test]
|
|
numjobs=1
|