Spdk/module
Artur Paszkiewicz 94ea87541e module/raid: add asserts in raid_bdev_configure()
This function should only be called for raid_bdev in 'configuring'
state, so convert the 'if' statement that checks that to an assert. Also
add an assert for the number of discovered base bdevs.

Suggested-by: Jim Harris <james.r.harris@intel.com>
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Change-Id: Ib2fdf2af64ff0e9b458af4070321d138508a3df8
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473966
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-11-14 16:25:55 +00:00
..
bdev module/raid: add asserts in raid_bdev_configure() 2019-11-14 16:25:55 +00:00
blob blob_bdev: add spdk_bdev_create_bs_dev_from_desc 2019-09-18 02:59:59 +00:00
blobfs rpc/blobfs: add cache size setting rpc 2019-11-07 00:33:25 +00:00
copy RPC: rename scan_ioat_copy_engine to ioat_scan_copy_engine 2019-09-19 19:24:47 +00:00
event rdma/conf: Add parsing of no_srq parameter via conf file 2019-11-14 03:46:17 +00:00
sock sock/posix: Move repeated socket allocation code to a function 2019-11-01 17:56:16 +00:00
Makefile mk : Fix compiling error. 2019-10-15 16:32:24 +00:00