]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: refine handle_async_event implementation
authorChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 27 Aug 2019 11:18:25 +0000 (19:18 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Sep 2019 07:25:19 +0000 (15:25 +0800)
commitf33693d174ff5d5e4bafabb79c2bdc0be2f72ca4
treef03c3c156b86ad333b3204da814a751f08e24874
parent1f5773c74600fdae1e2da93cf2d4ab7bf52ccf55
msg/async/rdma: refine handle_async_event implementation

1. log every asynchronous type event
2. Deal with IBV_EVENT_QP_LAST_WQE_REACHED log
   The QueuePair is switched into IBV_QPS_ERR before posting
   Beacon WR. For SRQ, all the SQ/WRs on that QP will be flushed
   into CQ and result in IBV_EVENT_QP_LAST_WQE_REACHED.
   The above scenario is what we want, it needn't take it as error
   with lderr logging.

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