Spdk/lib/vhost
Darek Stojaczyk 64d76e50cc vhost: call session_event_done() always under the global vhost lock
In the next patch we will put much more responsibility
on spdk_vhost_session_event_done(), so here we make
sure it's always called under the global vhost mutex.

Specifically, spdk_vhost_session_event_done() will set
vsession->lcore, which any other thread might try to
concurrently access via spdk_vhost_dev_foreach_session().

Change-Id: I7a5fde4be4e8bdfdbbb24ac955af964f516bdb68
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448227
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-03-28 14:16:56 +00:00
..
rte_vhost rte_vhost: introduce get/set vring base idx APIs 2019-02-27 01:43:16 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c vhost/compat: implement SET/GET_CONFIG 2019-03-15 22:03:26 +00:00
vhost_blk.c vhost: call session_event_done() always under the global vhost lock 2019-03-28 14:16:56 +00:00
vhost_internal.h vhost: call session_event_done() always under the global vhost lock 2019-03-28 14:16:56 +00:00
vhost_nvme.c vhost: call session_event_done() always under the global vhost lock 2019-03-28 14:16:56 +00:00
vhost_rpc.c configure: add option not to use the internal rte_vhost copy 2019-03-13 14:26:20 +00:00
vhost_scsi.c vhost: call session_event_done() always under the global vhost lock 2019-03-28 14:16:56 +00:00
vhost.c vhost: call session_event_done() always under the global vhost lock 2019-03-28 14:16:56 +00:00