3f578219be
Initialization of bdev modules don't have fixed ordering. Hence both cases should succeed to create configured raid bdev for .INI config file. 1. create raid bdev and then create base bdevs of it. 2. before creating raid bdev, create base bdevs of it. To do this, factor out adding base bdevs to raid bdev to a helper function raid_bdev_add_base_devices() first and then apply it to construct_raid_bdev RPC and parse .INI config file. Change-Id: I4389fd4e7bd41296dfa9210bbe8b60348ee5bc9d Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/423769 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Kunal Sablok <kunal.sablok@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
aio | ||
error | ||
gpt | ||
iscsi | ||
lvol | ||
malloc | ||
null | ||
nvme | ||
passthru | ||
pmem | ||
raid | ||
rbd | ||
rpc | ||
split | ||
virtio | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
vtune.c |