]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/rdma: call member function to get QP status
authorChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 27 Aug 2019 08:07:19 +0000 (16:07 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Sep 2019 07:25:01 +0000 (15:25 +0800)
RDMAConnectedSocketImpl::get_qp_state() implement the function
to get QueuePair state.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/msg/async/rdma/RDMAConnectedSocketImpl.cc

index c4fa58bcef9685c4775521c5e0daf38d4865d32c..9026b13dc8c0578a7095a0166cbdf133b41664d8 100644 (file)
@@ -496,7 +496,7 @@ int RDMAConnectedSocketImpl::post_work_request(std::vector<Chunk*> &tx_buffers)
   }
   qp->add_tx_wr(num);
   worker->perf_logger->inc(l_msgr_rdma_tx_chunks, tx_buffers.size());
-  ldout(cct, 20) << __func__ << " qp state is " << Infiniband::qp_state_string(qp->get_state()) << dendl;
+  ldout(cct, 20) << __func__ << " qp state is " << get_qp_state() << dendl;
   return 0;
 }