Loading
nvme/perf: only call verify_io when md_size > 0
verify_io is a function pointer, so avoiding the call altogether is beneficial. We know that no verification is possible if md_size == 0, so use this to determine if the call should be made. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I75f01e4f56aacb0f7babd2342efc6014f886667d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456249 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>