+4
−1
Loading
nvmf_rdma_poll_group_add() added a rqpair to the poll_group->qpairs list before its initialization. If we change the poll_group->qpairs list from linked list to RB tree, the qpair can be added to the poll_group_qpairs list only after its initialization completes because QP number is necessary. As a preparation, change nvmf_rdma_poll_group_add() to add a rqpair to the poll_group->qpairs list after its initialization succeeds. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I42525f68c5efbd445f96da8f4f63d31f06f739e3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11800 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>