Spdk/test
Daniel Verkamp 5eb129647d nvmf/bdev: refactor read/write into separate funcs
This makes it easier to unit test the individual functions and also
easier to follow the logic.

These helpers will also be used in the upcoming Write Zeroes function.

Also cleans up the variable names to be consistent with the rest of the
code.

Change-Id: I69847b6a052fb7baff058ed8e5b79904ddf2ec6d
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/377259
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-09-14 17:41:52 -04:00
..
app test: Add a bdev management service 2017-08-02 18:04:55 -04:00
blobfs/rocksdb test/blobfs: add 'drop_cache' in run_tests script 2017-08-09 13:39:27 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt nvmf: add AllowAnyHost option to subsystems 2017-09-05 13:03:09 -04:00
lib test/bdevio: support 4kb blocksize 2017-09-14 12:29:50 -04:00
nvmf bdev/gpt: free base bdev_part in gpt after examining 2017-09-14 13:39:29 -04:00
unit nvmf/bdev: refactor read/write into separate funcs 2017-09-14 17:41:52 -04:00
vhost test/vhost: lower fio job iodepth 2017-09-08 17:16:54 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00