numam-spdk/lib/bdev/raid
Shuhei Matsumoto ca34df9807 bdev/raid: Get base bdevs from its raid bdev simply in remove_base_devices()
This is a preparation to add completion callback to the
destroy_raid_bdev RPC.

Getting raid bdev from its config and processing base bdevs by using
it throughout is much more natural.

Checking if base bdev is active can be done by checking if the pointer
to the base bdev in base_bdev_info is not NULL.

Change-Id: Idd43b13eb342d9cd21ba55943bdcd1f564b3760e
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450568
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-04-10 19:38:10 +00:00
..
bdev_raid_rpc.c bdev/raid: Factor out removing base bdevs into a function 2019-04-09 18:20:40 +00:00
bdev_raid.c bdev/raid: Get base bdevs from its raid bdev simply in remove_base_devices() 2019-04-10 19:38:10 +00:00
bdev_raid.h bdev/raid: Factor out removing base bdevs into a function 2019-04-09 18:20:40 +00:00
Makefile bdev: remove "v" prefix from vbdev library names 2018-11-01 21:25:55 +00:00