Loading
vbdev_lvol_ut: unify usage of dummy base bdev
Summary: Currently: - some tests use a global statically allocated dummy bdev - some tests use a local dummy bdev on the stack - some tests use a dynamically allocated dummy bdev - the stubbed implementation of `spdk_bdev_create_bs_dev` and `spdk_bdev_create_bs_dev_ext` have nothing in common, such that replacing a call to `spdk_bdev_create_bs_dev` its equivalent using the `_ext` version breaks tests. Do some cleanup: - all tests use the statically allocated bdev as a dummy base bdev - unify the stubbed implementation of `spdk_bdev_create_bs_dev` and `spdk_bdev_create_bs_dev_ext` Change-Id: I795d77dfdfe8fd088b1e1c7301572330fc06f2e5 Signed-off-by:Nathan Claudel <nathan.claudel@kalrayinc.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23763 Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>