Loading
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>