Commit c976353b authored by Ankit Kumar's avatar Ankit Kumar Committed by Konrad Sztyber
Browse files

test/nvme: add test application to verify fdp functionality



TP4146 introduced support for flexible data placement, which is
a data placement directive.

This application will test the new I/O management commands,
write with directives, log pages and set/get features.

Signed-off-by: default avatarAnkit Kumar <ankit.kumar@samsung.com>
Change-Id: I2d68625d9a180afb5a6e85e59738c2713ce965a8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16521


Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarMichal Berger <michal.berger@intel.com>
parent df4600f4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -215,6 +215,9 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then
		if [[ $SPDK_TEST_NVME_CMB -eq 1 ]]; then
			run_test "nvme_cmb" $rootdir/test/nvme/cmb/cmb.sh
		fi
		if [[ $SPDK_TEST_NVME_FDP -eq 1 ]]; then
			run_test "nvme_fdp" test/nvme/nvme_fdp.sh
		fi

		if [[ $SPDK_TEST_NVME_ZNS -eq 1 ]]; then
			run_test "nvme_zns" $rootdir/test/nvme/zns/zns.sh
+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ export SPDK_TEST_NVME_BP
export SPDK_TEST_NVME_CLI
: ${SPDK_TEST_NVME_CUSE=0}
export SPDK_TEST_NVME_CUSE
: ${SPDK_TEST_NVME_FDP=0}
export SPDK_TEST_NVME_FDP
: ${SPDK_TEST_NVMF=0}
export SPDK_TEST_NVMF
: ${SPDK_TEST_VFIOUSER=0}
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ nvme_simple_copy
nvme_bp
nvme_boot_partition

# Waiting on Flexible Data Placement support in CI
nvme_fdp
nvme_flexible_data_placement

# Waiting on significant test rewrite
nvme_opal
nvme_opal_bdevio
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

DIRS-y = aer reset sgl e2edp overhead err_injection \
	startup reserve simple_copy connect_stress boot_partition \
	compliance fused_ordering doorbell_aers
	compliance fused_ordering doorbell_aers fdp
DIRS-$(CONFIG_NVME_CUSE) += cuse

.PHONY: all clean $(DIRS-y)
+1 −0
Original line number Diff line number Diff line
fdp
Loading