Spdk/module/bdev/raid
Artur Paszkiewicz 6e6d04b683 module/raid: move duplicated error handling code
Both callers of raid0_submit_rw_request() perform the same error
handling. Put it inside the function and change its return value to
void. After that, raid0_get_curr_base_bdev_index() becomes unused, so
remove it.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Change-Id: Ifbe88700e413c3af9bb513538b3026c19e857d74
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471077
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-11-01 14:34:32 +00:00
..
bdev_raid_rpc.c RPC: rename rpc destroy_raid_bdev to bdev_raid_delete 2019-09-19 19:24:47 +00:00
bdev_raid.c module/raid: move duplicated error handling code 2019-11-01 14:34:32 +00:00
bdev_raid.h module/raid: remove struct raid_fn_table 2019-11-01 14:34:32 +00:00
Makefile mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00