Spdk/test/unit/lib/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
..
bdev_raid.c module/raid: simplify code 2019-09-12 12:29:43 +00:00
bdev.c bdev: Add spdk_bdev_open_ext function 2019-08-26 19:07:56 +00:00
compress.c ut/compress: add custom spdk_vtophys mock 2019-08-30 15:47:57 +00:00
crypto.c ut: move all spdk_env_* mocks to test_env.c 2019-07-18 04:21:08 +00:00
gpt test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
mt bdev: Create generic _spdk_bdev_open function 2019-08-21 22:39:07 +00:00
part.c trace: remove short_name 2019-05-02 08:41:56 +00:00
pmem bdev: Not assert but pass completion status to spdk_bdev_io_get_buf_cb 2019-02-27 01:59:11 +00:00
scsi_nvme.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vbdev_lvol.c bdev/vbdev_lvol: Fix scanbuild error about Null poniter parameter. 2019-07-23 00:17:25 +00:00
Makefile mk: standardize DIRS-x assignments. 2019-08-29 20:16:18 +00:00