d010fe2602
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> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
nvme | ||
nvmf | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |