+16
−19
Loading
When a raid bdev is constructed by JSON-RPC construct_raid_bdev, information about config and slot can be passed to raid_bdev_add_base_device() and raid_bdev_can_claim() doesn't have to be called. Hence extract raid_bdev_can_claim_bdev() from raid_bdev_add_base_device() and put it to raid_bdev_examine(). Change-Id: I92e02bf3661cb97b691246f32198ba946810d96c Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/423618 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Kunal Sablok <kunal.sablok@intel.com>