Spdk/module/bdev/raid
paul luse 660b7fae44 module/raid: simplify code
In prep for replacing some of the internal r/w calls with function
pointers based on RAID level, just call spdk_bdev_io_get_buf()
directly in the submit path for reads. This:

* will reduce the number of places where unique calls to the
upcoming function pointer will be
* bring it in line with how the majority of other bdev modules look
* actually increase UT coverage by about 10% as we're now calling
spdk_bdev_io_get_buf() and it's callback.

Change-Id: I7e6da0dab80687988ba52f57b0d9e2dbf20676dc
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467538
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-09-12 12:29:43 +00:00
..
bdev_raid_rpc.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
bdev_raid.c module/raid: simplify code 2019-09-12 12:29:43 +00:00
bdev_raid.h mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
Makefile mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00