numam-spdk/examples/nvme
Shuhei Matsumoto cee0fef138 perf: Fix performance degradation when the ns is formatted to use Protection Information
Format of namespace is not changed during running but namespace
information is collected by identify command for every IO.

This caused much degradation of performance.

Hence call spdk_nvme_ns_get_data() and hold the pointer to the
buffer in which namespace information is stored  at registration
of namespace and use the pointer in both task_extended_lba_setup_pi()
and task_extended_lba_pi_verify().

Change-Id: I12461ccb763247bbb9ccbe34802805ace67d9400
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/424362
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-09-04 23:03:40 +00:00
..
arbitration lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
cmb_copy cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00
fio_plugin fio/nvme: Fix segfault upon fio completion. 2018-07-27 16:43:03 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
identify ocssd: print ocssd chunk info in identify app 2018-07-30 03:08:21 +00:00
nvme_manage nvme_manage: use SCNu64 for uint64_t input 2018-07-31 21:57:34 +00:00
perf perf: Fix performance degradation when the ns is formatted to use Protection Information 2018-09-04 23:03:40 +00:00
reserve nvme: use uint32_t consistently for NSID values 2018-03-16 14:15:08 -04:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00