numam-spdk/module/bdev/raid
Artur Paszkiewicz ae70d6a4a6 module/raid: simplify raid_bdev_queue_io_wait()
Pass raid_io instead of bdev_io to raid_bdev_queue_io_wait() and its
callbacks to eliminate unnecessary type conversions. Pass bdev and
io_channel directly as parameters instead of passing a base device
index.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Change-Id: Iecbf351ec1598b29709e7ccff2efb1776faf11f9
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471086
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@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: simplify raid_bdev_queue_io_wait() 2019-11-14 16:25:55 +00:00
bdev_raid.h module/raid: simplify raid_bdev_queue_io_wait() 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: simplify raid_bdev_queue_io_wait() 2019-11-14 16:25:55 +00:00