Add RPC interfaces for creation of esnap clone lvols. This also exercises esnap clone creation and various operations involving snapshots and clones of esnap clones to ensure that bdev_get_bdevs reports state correctly. Change-Id: Ib87d01026ef6e45203c4d9451759885a7be02d87 Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14978 Reviewed-by: Michal Berger <michal.berger@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
26 lines
930 B
Bash
Executable File
26 lines
930 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2019 Intel Corporation
|
|
# All rights reserved.
|
|
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
#
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../..)
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
timing_enter lvol
|
|
|
|
timing_enter basic
|
|
run_test "lvol_basic" $rootdir/test/lvol/basic.sh
|
|
run_test "lvol_resize" $rootdir/test/lvol/resize.sh
|
|
run_test "lvol_hotremove" $rootdir/test/lvol/hotremove.sh
|
|
run_test "lvol_tasting" $rootdir/test/lvol/tasting.sh
|
|
run_test "lvol_snapshot_clone" $rootdir/test/lvol/snapshot_clone.sh
|
|
run_test "lvol_rename" $rootdir/test/lvol/rename.sh
|
|
run_test "lvol_provisioning" $rootdir/test/lvol/thin_provisioning.sh
|
|
run_test "lvol_esnap" $rootdir/test/lvol/esnap/esnap
|
|
run_test "lvol_external_snapshot" $rootdir/test/lvol/external_snapshot.sh
|
|
timing_exit basic
|
|
|
|
timing_exit lvol
|