Loading
nvme/overhead: relax ordering around spdk_get_ticks
The Intel SDM clearly states that only an lfence (not an mfence) is needed to ensure rdtsc is executed before subsequent instructions. So change spdk_mb calls to spdk_rmb to avoid overhead related to the unneeded part of the fencing operation. This provides a more accurate view of the overhead of both the SPDK and kernel NVMe drivers. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Idaeb59db241cc1630e438e300559a02c4d59cd49 Reviewed-on: https://review.gerrithub.io/413148 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>