Spdk/lib/vhost
Darek Stojaczyk fa282f6cb9 vhost/scsi: don't clear svdev->poll_group
Don't unset svdev->poll_group when the last session is
stopped, just keep the old reference in there. When
a session is started, a new poll group will be picked
and svdev->poll_group will get overwritten anyway.

This is just a cleanup that aligns the code for
making vhost_session_send_event() asynchronous.

Change-Id: Ibf145603fd7525a65c4304b0bb1828dcbe2b52cf
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467227
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-10-09 02:28:17 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: remove spdk_ prefix from private functions 2019-09-09 01:39:41 +00:00
vhost_blk.c vhost: make poll group refcount per-session 2019-09-09 01:39:41 +00:00
vhost_internal.h vhost: add a separate cpl cb to foreach_session() 2019-09-09 01:39:41 +00:00
vhost_nvme.c rpc: Rename add_vhost_nvme_ns to vhost_nvme_controller_add_ns 2019-10-08 15:50:14 +00:00
vhost_rpc.c rpc: Rename add_vhost_nvme_ns to vhost_nvme_controller_add_ns 2019-10-08 15:50:14 +00:00
vhost_scsi.c vhost/scsi: don't clear svdev->poll_group 2019-10-09 02:28:17 +00:00
vhost.c rpc: Rename set_vhost_controller_coalescing to vhost_controller_set_coalescing 2019-10-03 23:00:40 +00:00