numam-spdk/module
Shuhei Matsumoto aec30063e3 bdev/compress: Pass bdev name instead of bdev pointer to _prepare_for_load_init()
This patch removes the call of spdk_bdev_get_by_name() from
create_compress_bdev() by calling spdk_bdev_open_ext() and then passing
bdev descriptor to _prepare_for_load_init().
vbdev_init_reduce() returns the return code of spdk_bdev_open_ext()
directly if it is error to process the ENODEV case correctly.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ie80ce4104ceaa5726db976e33cd35352d5c91703
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4571
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-10-16 08:14:34 +00:00
..
accel log: remove internal log.h header 2020-10-15 08:23:39 +00:00
bdev bdev/compress: Pass bdev name instead of bdev pointer to _prepare_for_load_init() 2020-10-16 08:14:34 +00:00
blob lib/bdev: Add spdk_bdev_abort API 2020-06-08 09:28:27 +00:00
blobfs log: remove internal log.h header 2020-10-15 08:23:39 +00:00
env_dpdk log: remove internal log.h header 2020-10-15 08:23:39 +00:00
event log: remove internal log.h header 2020-10-15 08:23:39 +00:00
sock posix: Reorder spdk_posix_sock struct 2020-09-29 09:35:47 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00