Spdk/test/unit/lib/bdev
Shuhei Matsumoto 0a46f5c2aa bdev/raid: Extract check claim operation from add base bdev operation
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>
2018-08-30 16:13:35 +00:00
..
bdev_raid.c bdev/raid: Extract check claim operation from add base bdev operation 2018-08-30 16:13:35 +00:00
bdev.c bdev: add split_on_optimal_io_boundary 2018-08-23 16:08:21 +00:00
gpt test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
mt bdev: add new fini_start notification callback for modules 2018-08-15 23:32:04 +00:00
part.c bdev: remove vbdevs and base_bdevs arrays 2018-08-17 00:11:03 +00:00
pmem test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vbdev_lvol.c test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
Makefile bdev: add raid bdev module 2018-07-16 20:50:40 +00:00