Spdk/test/nvme
Changpeng Liu 2cf937fb92 test/nvme: allocate separate metadata buffer when enable PRACT
The specification says when PRACT is 1 and metadata size is 8, the
controller generates and appends protection information to the end
of the logical block data, this looks like only valid for extended
LBA format, but from real test with different drives, for separate
metadata case, some drives require host allocated buffer while some
not, for metadata bigger than 8 bytes cases, they all need host
buffer, so we allocate this buffer in host for all cases here.

Change-Id: I1aca8eb84e089ff5819a5f2680409c193847c40b
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1391
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@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
..
aer lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
deallocated_value test/nvme/deallocated_value: switch to spdk_*malloc(). 2019-07-05 03:48:51 +00:00
e2edp test/nvme: allocate separate metadata buffer when enable PRACT 2020-04-02 07:02:38 +00:00
err_injection nvme: replace cdw10 with specific union command 2019-12-06 14:43:41 +00:00
overhead test/nvme: Don't fail test for NVMe with no namespaces 2019-07-12 07:36:21 +00:00
perf test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
reset nvme: change retry count can be configured via bdev nvme driver 2019-08-09 00:44:50 +00:00
sgl test/nvme/sgl: switch to spdk_*malloc(). 2019-07-16 10:51:47 +00:00
startup test/nvme: Add nvme startup tool. 2019-10-23 17:03:56 +00:00
hotplug.sh test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
hw_hotplug.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile test/nvme: Add nvme startup tool. 2019-10-23 17:03:56 +00:00
nvme_opal.sh test/nvme_opal: use run_test framework 2020-01-07 12:15:34 +00:00
nvme_rpc.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
nvme.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
spdk_nvme_cli_cuse.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
spdk_nvme_cli.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00
spdk_smartctl_cuse.sh test: do not use iter_pci_class_code in tests 2020-03-18 08:03:21 +00:00