76675f6f60
We found ibv state value may be unreasonable, so before we use the state value we do some judgement. The unreasonable state probably means hardware issue, so the process flow become unpredicatable. Fix GitHub issue #508. Change-Id: I213f4d684b103cce7bc072aecd591e2c491e0596 Signed-off-by: JinYu <jin.yu@intel.com> Reviewed-on: https://review.gerrithub.io/c/436920 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>