rdma: remove assert if ibv_query_qp fails
ibv_query_qp can return nonzero value if e.g. we received IBV_EVENT_DEVICE_FATAL. Remove assertion not to break SPDK in debug mode Change-Id: I00b3bef448a69e2f43ee90e5466b2d78b55d8a08 Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/659 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
804b066929
commit
2f551f09ce
@ -655,7 +655,6 @@ spdk_nvmf_rdma_set_ibv_state(struct spdk_nvmf_rdma_qpair *rqpair,
|
||||
|
||||
if (rc) {
|
||||
SPDK_ERRLOG("Failed to get updated RDMA queue pair state!\n");
|
||||
assert(false);
|
||||
}
|
||||
|
||||
qp_attr.cur_qp_state = rqpair->ibv_state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user