Spdk/lib
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
..
bdev histograms: add rpc calls 2019-01-24 14:14:32 +00:00
blob lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
blobfs blobfs: fix the length value of file. 2019-01-17 05:04:13 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk ipsec_mb: use EXTRA_CFLAGS to point DPDK to intel-ipsec-mb submodule 2019-01-18 17:21:02 +00:00
event json_config: dont dereference when no next config entry 2019-01-22 19:21:46 +00:00
ftl ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00
ioat memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
iscsi iscsi: create scsi port before creating session 2019-01-18 16:35:16 +00:00
json json_util: add debug logs to spdk_json_decode_object function 2019-01-10 14:31:37 +00:00
jsonrpc jsonrpc: support half closed connections 2019-01-23 22:26:16 +00:00
log app: rename traceflag cmdline option to logflag 2018-12-03 19:50:15 +00:00
lvol lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nbd nbd: fixup return codes 2018-11-28 22:55:09 +00:00
net lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
nvme nvme: fix the aer request sent to disabled controller 2019-01-18 17:44:08 +00:00
nvmf nvmf: Add the Keep Alive feature 2019-01-24 04:24:11 +00:00
reduce reduce: mark correct number of backing pages for md 2019-01-17 19:43:28 +00:00
rocksdb thread: Rename spdk_allocate_thread to spdk_thread_create 2019-01-17 11:24:38 +00:00
rpc rpc: add spdk_rpc_is_method_allowed 2018-12-05 00:35:35 +00:00
scsi scsi: Set TMF code prior to calling spdk_scsi_dev_queue_mgmt_task 2018-12-10 20:34:11 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +00:00
thread thread: Allow nested spdk_thread_poll calls 2019-01-21 13:54:46 +00:00
trace lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util dif: Fix opposite definition of DIF location parameter from SPDK NVMe API 2019-01-17 17:12:01 +00:00
vhost vhost: allow multiple sessions per device 2019-01-24 17:37:03 +00:00
virtio memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
Makefile ftl: Initial implementation 2019-01-11 09:15:39 +00:00