Loading
ut/bdev: Configure bdev size and iobuf for all test cases
The following patches will change spdk_bdev_register() to access iobuf and bdev's blocklen and blockcnt. Hence, we have to configure these correctly for alltest cases. Move ut_init/fini_bdev() up in a file. Add missing ut_init/fini_bdev() and allocate/free_bdev() calls for some test cases. Add blockcnt and blocklen to allocate_vbdev(). Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Iccbb1cfe4dcdc4496f15304b5362d76d5296607f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17908 Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>