Spdk/test
Darek Stojaczyk 27c42e313f nvme: don't rely on phys_addr retrieved from spdk_malloc()
The phys_addr param in spdk_*malloc() is about to be
deprecated, so use a separate spdk_vtophys() call to
retrieve physical addresses.

This patch also adds error checks against SPDK_VTOPHYS_ERROR.
The error handling paths are already there to account for
spdk_*malloc() failures themselves, so reuse them in case
of vtophys failures.

Change-Id: I377636e66b8c570d013c1bb2021f04bce4e6c0ce
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/416998
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-03-20 01:06:09 +00:00
..
app event: spdk_app_start now takes spdk_msg_fn 2019-03-19 15:54:34 +00:00
bdev event: spdk_app_start now takes spdk_msg_fn 2019-03-19 15:54:34 +00:00
blobfs event: spdk_app_start now takes spdk_msg_fn 2019-03-19 15:54:34 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common nvme: don't rely on phys_addr retrieved from spdk_malloc() 2019-03-20 01:06:09 +00:00
config_converter bdev/nvme: Add configuration parameter to slow down polling 2019-03-19 07:27:44 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00
event event: spdk_app_start now takes spdk_msg_fn 2019-03-19 15:54:34 +00:00
ftl test/ftl: Change fio_plugin from basic test to bdevperf 2019-03-18 16:33:49 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt bdev/nvme: Add configuration parameter to slow down polling 2019-03-19 07:27:44 +00:00
json_config jsonrpc: add Python with statement support 2019-03-15 05:01:27 +00:00
lvol test/lvol: Implement test case 653 2019-03-01 22:54:07 +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/nvmf: add connect_disconnect test back to nightly 2019-03-08 21:09:09 +00:00
ocf ocf/test: update integrity test for multicore case 2019-03-15 19:04:10 +00:00
pmem bdev: remove delete_bdev RPC 2019-03-01 08:50:07 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli test/spdkcli: update match file to cover larger volume NVMe SSD 2019-03-08 02:18:15 +00:00
unit bdev/reduce: fix issue with vol_load 2019-03-18 17:41:32 +00:00
vhost test/hotplug: Use malloc as second bdev instead of nvme in hotremove tests 2019-03-13 17:57:14 +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