Spdk/module/bdev
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
..
aio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
compress module/compress: Clear vol element in comp_bdev struct on vol unload 2019-08-30 15:47:29 +00:00
crypto bdev/crypto: silence scan-build null dereference false positive 2019-08-30 17:17:58 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi RPC: rename bdev_iscsi RPCs 2019-08-26 22:42:48 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme bdev/nvme: fix argument order for rpc aliases 2019-09-02 08:06:13 +00:00
ocf rpc: Rename ocf get_bdevs and get_stats related rpcs. 2019-08-30 15:41:30 +00:00
passthru mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: simplify code 2019-09-12 12:29:43 +00:00
rbd mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
rpc mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
split mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
uring mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
virtio mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
Makefile mk: standardize DIRS-x assignments. 2019-08-29 20:16:18 +00:00