numam-spdk/test
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
..
app jsoncat, histogram_perf: add missing dependencies 2018-08-16 14:27:18 +00:00
bdev test/ioat: remove unnecessary config entires 2018-08-30 14:45:48 +00:00
blobfs test/ioat: remove unnecessary config entires 2018-08-30 14:45:48 +00:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test: don't print backtrace when errexit is off 2018-08-30 04:47:39 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env test/vtophys: reduce amount of memory requested 2018-07-26 05:28:52 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/ioat: remove unnecessary config entires 2018-08-30 14:45:48 +00:00
json_config app: drop -w parameter (wait for rpc init) 2018-08-13 17:30:10 +00:00
lvol test: refactor the run_test function to add detailed information 2018-08-15 17:24:01 +00:00
nvme test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
nvmf test/nvmf: let modprobe pass if no module found 2018-08-29 16:26:52 +00:00
pmem test/json: Add pmem bdev test 2018-07-05 19:09:56 +00:00
spdkcli test/spdkcli: Fix: Add missing delete_*_bdev methods 2018-07-27 16:48:02 +00:00
unit bdev/raid: Extract check claim operation from add base bdev operation 2018-08-30 16:13:35 +00:00
vhost test/ioat: remove unnecessary config entires 2018-08-30 14:45:48 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00