a9b9f0952d
IBV_EVENT_SQ_DRAINED can occur during both error recovery and normal operation. We don't want to spend time sending a message to the correct qpair thread and then attempting to abort all I/O in the case where this wasn't triggered by an error. The case where this occurs during an error is very rare and only in response to a user forcing the state to err from the sqd state. For now, don't handle that case at all. Handle that corner case in a later patch. Change-Id: I16462ca52739b68f6b52a963f7344e12f7f48a55 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/420936 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com>