]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: refine handle_rx_handle log under WCE failure case
authorChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 27 Aug 2019 10:57:35 +0000 (18:57 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Sep 2019 07:25:19 +0000 (15:25 +0800)
commit1f5773c74600fdae1e2da93cf2d4ab7bf52ccf55
treef900eb346575decbaf7ca8c552aea44f7f59552f
parent72e0c84ed2a0f612951ac777bccfe8a771988065
msg/async/rdma: refine handle_rx_handle log under WCE failure case

1. ibv_wc:status IBV_WC_SUCCESS
   keep same logic

2. ibv_wc:status IBV_WC_WR_FLUSH_ERR
1) After Beacon is posted into SQ, all the outstanding RQ/WR will
   be flushed into CQ with IBV_WC_WR_FLUSH_ERR status. This is right
   without special logging.
2) For the other case that trigger IBV_WC_WR_FLUSH_ERR, it need track
   more info such as remote QueuePair number and local QP state.

3. ibv_wc:status others
   same logic with tracking more info into log

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