d4e19ecc1c
This makes the async event body non-blocking and also fixes potential deadlock scenario: * call_external_event() enqueues vhost_event * destroy_device() locks g_spdk_vhost_mutex * destroy_device() enqueues it's vhost_event * reactor dequeues events * cb from call_external_event is dequeued first * g_spdk_vhost_mutex is locked (deadlock) * destroy_device() times out, abort() Change-Id: If8f51ada3ee5c47ba126f74187a40a285c001c77 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/380634 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 | ||
test_plan.md | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |