Spdk/test
Darek Stojaczyk c93b418730 memory: fix contiguous memory calculation for unaligned buffers
We assumed spdk_mem_map_translate() translates only 2MB-aligned
addresses, but that's not true. Both vtophys and NVMf can use it
with any user-provided address and that breaks our contiguous memory
length calculations. Right now each buffer appeared to have the
first n * 2MB of memory always contiguous.

This is a bugfix for NVMf which does check the mapping length
internally. It will also become handy when adding the similar
functionality to spdk_vtophys().

Change-Id: I3bc8e0b2b8d203cb90320a79264effb7ea7037a7
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/433076 (master)
Reviewed-on: https://review.gerrithub.io/435691
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-12-06 17:08:38 +00:00
..
app
bdev test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
blobfs
blobstore vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
common test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
config_converter
cpp_headers
env memory: fix contiguous memory calculation for unaligned buffers 2018-12-06 17:08:38 +00:00
event
ioat
iscsi_tgt
json_config vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
lvol
nvme
nvmf test/nvmf: Delete unneeded references to start_subsystem_init 2018-10-22 22:33:13 +00:00
pmem
rpc_client
spdkcli vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
unit iscsi: do not caculate the CRC in multiple times 2018-12-05 00:36:40 +00:00
vhost
Makefile
spdk_cunit.h