Spdk/test
Dariusz Stojaczyk ffb4d54a79 vhost: unaffinitize rte_vhost thread
rte_vhost_driver_start() can start a new posix thread
that polls for incoming socket connections and calls
backend->start/stop_device. Soon we're going to put
more work on this thread, so we need to make sure it
doesn't collide with SPDK reactors.

This patch also fixes vdev memory leaks in case the
rte_vhost_driver_start() fails.

Change-Id: I16fdff228176a245c478251b39aa244a49bd124b
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/406959
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-04-11 16:49:57 -04:00
..
app test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
bdev bdev: update the name of Passthru section 2018-04-10 15:44:54 -04:00
blobfs blobfs/fuse: account for leading slash in filenames 2018-04-11 16:03:14 -04:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common vm_setup: add new test flags to autorun-spdk.conf 2018-04-09 17:58:54 -04:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env test: move lib/env up one level 2018-03-29 00:31:24 -04:00
event test: move lib/event up one directory 2018-03-29 00:31:24 -04:00
ioat test: move lib/ioat up one directory 2018-03-27 00:46:52 -04:00
iscsi_tgt test/iscsi: use veth interfaces instead of loopback 2018-04-10 11:40:38 -04:00
lvol bdev: Enable lvol resize RPC 2018-04-10 19:24:04 -04:00
nvme test/nvme/aer: add changed namespace list log test 2018-04-11 16:05:09 -04:00
nvmf test/nvme/aer: add changed namespace list log test 2018-04-11 16:05:09 -04:00
pmem bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
unit vhost: unaffinitize rte_vhost thread 2018-04-11 16:49:57 -04:00
vhost test/virtio: use "single file segments" 2018-04-03 18:57:29 -04:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00