b2847368cc
This doesn't really fix anything as rte_vhost logging functions are extremely poorly designed and do smp_wmb() by themselves - but only if logging is enabled... Let's move the barrier in our vhost.c. This doesn't change any behavior, but makes the code more readable. It surely looked weird to update the ring, log it, and then do smp_wmb(). Change-Id: I90827b14292b60bd5641a48d546e7249a0496a4b Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/398326 Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |