Commit dc55e08d authored by Changpeng Liu's avatar Changpeng Liu
Browse files

test/nvmf: remove nested lvol test for nvmf



When adding one bdev to NVMeoF Namespace, subsystem
will claim the bdev to prevent shared access to the
same bdev, for nested blobstore tests, this will
fail for NVMeoF test.

Fix the issue #396

Change-Id: Ifade610dc821ae0a7535b1f3f1ef5a44ca43133d
Signed-off-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/421136


Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
parent 0f842e86
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -58,11 +58,6 @@ if [ $RUN_NIGHTLY -eq 1 ]; then
		get_lvs_free_mb $ls_guid
		lb_guid=$($rpc_py construct_lvol_bdev -u $ls_guid lbd_0 $free_mb)
		$rpc_py construct_nvmf_subsystem nqn.2016-06.io.spdk:cnode1 "trtype:RDMA traddr:$NVMF_FIRST_TARGET_IP trsvcid:4420" "" -a -s SPDK00000000000001 -n "$lb_guid"
		# Create lvol bdev for nested lvol stores
		ls_nested_guid=$($rpc_py construct_lvol_store $lb_guid lvs_n_0)
		get_lvs_free_mb $ls_nested_guid
		lb_nested_guid=$($rpc_py construct_lvol_bdev -u $ls_nested_guid lbd_nest_0 $free_mb)
		$rpc_py construct_nvmf_subsystem nqn.2016-06.io.spdk:cnode2 "trtype:RDMA traddr:$NVMF_FIRST_TARGET_IP trsvcid:4420" "" -a -s SPDK00000000000002 -n "$lb_nested_guid"

		# Test perf as host with different io_size and qd_depth in nightly
		qd_depth=("1" "128")
@@ -75,9 +70,6 @@ if [ $RUN_NIGHTLY -eq 1 ]; then

		# Delete subsystems, lvol_bdev and destroy lvol_store.
		$rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode1
		$rpc_py delete_nvmf_subsystem nqn.2016-06.io.spdk:cnode2
		$rpc_py destroy_lvol_bdev "$lb_nested_guid"
		$rpc_py destroy_lvol_store -l lvs_n_0
		$rpc_py destroy_lvol_bdev "$lb_guid"
		$rpc_py destroy_lvol_store -l lvs_0
		$rpc_py delete_nvme_controller Nvme0