Spdk/test
Shuhei Matsumoto 56e12b0071 scsi: Use spdk_bdev_readv_blocks instead of spdk_bdev_readv
This is in a effort to consolidate SCSI read and write I/O
for the upcoming transparent DIF support.

Previously conversion of bytes and blocks are done both in
SCSI layer and BDEV layer. After the patch series, conversion is
consolidated into SCSI layer.

About conversion from bytes to blocks, we don't expose bdev API
spdk_bdev_bytes_to_blocks and but create private helper function
_bytes_to_blocks because we will use not block size but data
block size when we support transparent DIF feature.

Change-Id: I37169c673479c92e027e2507a0e54a1e414b43e1
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/444778
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-02-20 20:17:56 +00:00
..
app test: Don't set max_reactor_delay in bdev_svc 2019-02-14 14:58:56 +00:00
bdev bdevperf: Fix incorrect error detection and log for IO size 2019-02-13 06:42:11 +00:00
blobfs app/parse: add default return value for app parse function 2019-01-22 01:03:39 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
config_converter config_converter: Remove deprecated construct_nvmf_subsystem RPC 2019-01-29 16:17:03 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
event test, nvmf: remove last usages of max_delay_us 2019-02-13 16:43:18 +00:00
ftl test/ftl: use OCSSD instead first NVMe like 2019-02-15 21:43:36 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/qos: allow more variance due to iSCSI overhead 2019-02-14 05:13:43 +00:00
json_config vhost-scsi: use first free SCSI target ID if -1 specified 2019-02-04 18:16:35 +00:00
lvol lvol: exposed marking lvol bdev as read only 2019-01-18 19:02:36 +00:00
nvme test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
nvmf test: remove references to stub application 2019-02-13 16:43:18 +00:00
ocf OCF: rpc: add get_ocf_bdevs method 2019-01-28 18:53:31 +00:00
pmem test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
unit scsi: Use spdk_bdev_readv_blocks instead of spdk_bdev_readv 2019-02-20 20:17:56 +00:00
vhost test/nightly: Add tests to RUN_NIGHTLY_FAILING. 2019-02-01 13:16:35 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00