Commit 1594b139 authored by Chen Wang's avatar Chen Wang Committed by Jim Harris
Browse files

test/vhost: Fix the lvol bdev name



The lvol bdev which used to create nested lvol store
should be $lb_name.

Change-Id: Ic8d68f8d18bcb0c1d4bca0b4612a4a07ed8b974d
Signed-off-by: default avatarChen Wang <chenx.wang@intel.com>
Reviewed-on: https://review.gerrithub.io/390350


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 93b71b90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -123,8 +123,8 @@ if $nested_lvol; then
        lb_name=$($rpc_py construct_lvol_bdev -u $lvol_store lbd_nest 16000)
        lvol_bdevs+=("$lb_name")

        echo "INFO: Creating nested lvol store on lvol bdev: $lb_guid"
        ls_guid=$($rpc_py construct_lvol_store $lb_guid lvs_n_$i)
        echo "INFO: Creating nested lvol store on lvol bdev: $lb_name"
        ls_guid=$($rpc_py construct_lvol_store $lb_name lvs_n_$i)
        nest_lvol_stores+=("$ls_guid")
    done
fi