numam-spdk/test
Darek Stojaczyk d010fe2602 vhost: allow multiple sessions per device
With all the patches in place, we can finally
enable having more than one simultaneous sessions
to a single vhost device.

This patch adds a unique id to the session structure,
similar to the one in a vhost device and also fills in
the implementation holes in foreach_session().

Vhost-NVMe can support only one session per device
and now has an additional check that prevents it from
starting more than one at a time.

Vhost-SCSI also has the same check now since it needs
additional work on the lcore assignment policy. The
check will be removed once the required work is done.

Change-Id: I13a32c7a0eae808e9bec63a7b8c15ec0bc2e36ed
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/439324
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-01-24 17:37:03 +00:00
..
app parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
bdev QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
blobfs app/parse: add default return value for app parse function 2019-01-22 01:03:39 +00:00
blobstore vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
common test: add installing python3-pandas in vm_setup.sh 2019-01-18 15:55:32 +00:00
config_converter nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test/env_dpdk_post_init: use only a single core 2019-01-22 14:01:57 +00:00
event build: move app rules to spdk.app.mk 2018-12-12 22:35:21 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt QoS/Bdev: add RPC support for Read/Write separate bandwidth limits 2019-01-22 23:21:43 +00:00
json_config test/json_config: check if config is cleared properly 2019-01-16 14:17:10 +00:00
lvol lvol: exposed marking lvol bdev as read only 2019-01-18 19:02:36 +00:00
nvme memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
nvmf test/nvmf: fix the error message in nvmf_lvol test 2019-01-23 01:43:14 +00:00
pmem test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
unit vhost: allow multiple sessions per device 2019-01-24 17:37:03 +00:00
vhost test: consolidate tests for reading JSON config 2019-01-16 14:17:10 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00