3dc3f4164b
Observed some issues related with AER in the testpool, which states that the subsystem is not ready. So change the check, which will be more accurate. We only did not allow the subsystem in inactive state or deactivitating state. For others, we can still queue the requests. Change-Id: Ic041298dfc5f7d7bfab5f5e5314ade377273df32 Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/c/439797 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>