239a407897
The next patch will create a SPDK thread for each poll group at startup. Hence iSCSI connection will be created or destroyed on these threads. On the other hand, logout request to the active connection will be still invoked by the default thread. This unmatch will hit assertion such that poller is unregistered different thread that registered it. Fix this unmatch by sending message to the thread explicitly to request logout and wait for the logout process to start. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iff361e78b9ba077230e38d9586f7187968e33314 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/490 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>