+6
−47
+11
−50
Loading
When rte_vhost tells us to start a session with given vid, we lookup the corresponsing session object from an spdk-internal session list and tell it to start polling without even specifying any backend. The vsession->vdev->type checks could only fail as a result of some spdk data corruption, so replace those with just asserts now. This code path could have never been hit in our tests anyway. Change-Id: I97c6cbe7088f338b684d291c93cbc59c44cfdc4e Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466042 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Vitaliy Mysak <vitaliy.mysak@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>