Spdk/test
Changpeng Liu 68d3bb2de4 nvme: save separate metadata size to nvme request
Previously the SPDK NVMe driver always set PSDT to 01b for hardware SGLs
which is aligned to the Linux NVMe driver, for this case the metadata length
is not required when filling the NVMe command fields.  There is no alignment
nor granularity requirement for Data Blocks for PSDT 01b case.  And if the
drive reported that it needs dword alignment with SGL, for this case, when
using spearate metadata, it needs a length parameter to fill the SGL descriptor.

Change-Id: I56ffaada775fe66de7637dae15b509ee9556e80a
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1351
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-04-02 07:02:38 +00:00
..
app test/iscsi: add application for target fuzz testing. 2020-03-13 08:53:46 +00:00
bdev test/blockdev: enable multi-thread per target on bdevperf verify 2020-03-31 07:56:28 +00:00
blobfs test/rocksdb: fix db_bench build with gcc9 2020-03-05 13:33:23 +00:00
blobstore lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
common test/vm_setup: Update QAT driver version 2020-03-31 07:59:16 +00:00
compress test/compress: enable multi-thread on single compress bdev 2020-03-31 07:56:28 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env pci_ut: Add the simple bdf parse test. 2020-04-01 10:22:12 +00:00
event lib/thread: Fail spdk_thread_exit() if thread has any registered poller 2020-02-13 09:51:15 +00:00
ftl fio: Remove hardcoded path to fio repo 2020-03-17 14:44:20 +00:00
fuzz test: add autotest of fuzz_iscsi 2020-03-31 07:59:03 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/iscsi: run cleanup once before running the tests 2020-03-31 07:58:11 +00:00
json_config subsystem/accel: add entry point for .write_config_json 2020-02-18 08:05:34 +00:00
lvol test/lvol: fix typo in lvol_size parameter 2020-03-31 07:58:25 +00:00
make test/make: properly escape '.' in awk. 2020-03-31 07:58:17 +00:00
nvme test/nvme: allocate separate metadata buffer when enable PRACT 2020-04-02 07:02:38 +00:00
nvmf test/nvmf: use waitforserial instead of waitforblk 2020-03-25 07:53:00 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem script: update pmem test script 2020-02-12 12:07:30 +00:00
rpc scripts/rpc.py: add daemon mode 2020-03-11 11:35:03 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
vhost test/vhost: remove run_fio.py script 2020-03-31 08:01:17 +00:00
vmd fio: Remove hardcoded path to fio repo 2020-03-17 14:44:20 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00