Spdk/module/bdev/raid
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_raid_rpc.c module/raid: make raid_level an enum instead of plain integer 2019-11-01 14:34:32 +00:00
bdev_raid.c module/raid: add asserts in raid_bdev_configure() 2019-11-14 16:25:55 +00:00
bdev_raid.h module/raid: function pointers for submit_request in raid_bdev_module 2019-11-14 16:25:55 +00:00
Makefile module/raid: move raid0 functions to separate file 2019-11-01 14:34:32 +00:00
raid0.c module/raid: function pointers for submit_request in raid_bdev_module 2019-11-14 16:25:55 +00:00