Spdk/lib/vhost
Tomasz Zawadzki b077e6e084 lib/vhost: use spdk_vhost_lock/unlock/trylock()
g_vhost_mutex scope is only within vhost.c as
it should. Meanwhile there is an internal vhost API to
use this lock from any of the vhost files.

Later patches in the series move some functions from
vhost.c to rte_vhost_user.c, where using only the
internal vhost API locks will be better suited.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I5916d4dc824ec980fa510fd3cbbd0c8e082d6611
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11021
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2022-01-20 19:09:20 +00:00
..
Makefile lib/vhost: rename rte_vhost_compat to rte_vhost_user 2022-01-20 19:09:20 +00:00
rte_vhost_user.c lib/vhost: move dev_dirname to rte_vhost_user 2022-01-20 19:09:20 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c vhost: set timeout for session's stop_poller 2022-01-07 15:24:12 +00:00
vhost_internal.h lib/vhost: move dev_dirname to rte_vhost_user 2022-01-20 19:09:20 +00:00
vhost_rpc.c vhost-blk: recover ring base when reconnect 2021-01-15 08:30:18 +00:00
vhost_scsi.c vhost: set timeout for session's stop_poller 2022-01-07 15:24:12 +00:00
vhost.c lib/vhost: use spdk_vhost_lock/unlock/trylock() 2022-01-20 19:09:20 +00:00