test/ftl: Update deprecated RPC calls
ftl_bdev_create call should be used instead construct_ftl_bdev Change-Id: If361ca6be8c5118dd55579e8c0a219041b7f1e94 Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/481811 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
aa44b69a52
commit
9b4091dbe5
@ -45,9 +45,9 @@ $rpc_py bdev_nvme_attach_controller -b nvme0 -a $device -t pcie
|
||||
$rpc_py bdev_ocssd_create -c nvme0 -b nvme0n1
|
||||
|
||||
if [ -z "$uuid" ]; then
|
||||
$rpc_py construct_ftl_bdev -b ftl0 -d nvme0n1
|
||||
$rpc_py bdev_ftl_create -b ftl0 -d nvme0n1
|
||||
else
|
||||
$rpc_py construct_ftl_bdev -b ftl0 -d nvme0n1 -u $uuid
|
||||
$rpc_py bdev_ftl_create -b ftl0 -d nvme0n1 -u $uuid
|
||||
fi
|
||||
|
||||
modprobe nbd
|
||||
|
Loading…
Reference in New Issue
Block a user