3ea2bffb9e
spdk_bdev_create_bs_dev_ext() gets not bdev pointer but bdev name as an argument, and hence vbdev_lvs_create() will get bdev name accordingly. However after completing spdk_bdev_create_bs_dev_ext(), vbdev_lvs_create() has to get bdev pointer from the created bs_dev. Hence add a function pointer get_base_bdev to struct spdk_bs_dev and set it to bdev_blob_get_base_bdev() at initialization. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Idef0663ace85db0269442212014286669c150069 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4706 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
blob_bdev.c | ||
Makefile | ||
spdk_blob_bdev.map |