]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: initialize some variables in-class 29947/head
authorChangcheng Liu <changcheng.liu@aliyun.com>
Tue, 10 Sep 2019 10:54:10 +0000 (18:54 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Sep 2019 07:25:19 +0000 (15:25 +0800)
commit30a35bd58fc761dd1894a370c4fe05eba4c4c6e0
tree1269dd78925e9bc2d5d69b0ea468b9f86ec2a754
parentd557e649c8ce6e53086d0f866d55978b44d4ab9a
msg/async/rdma: initialize some variables in-class

1. initialize RDMAServerSocketImpl member

2. initialize RDMAConnectedSocketImpl member

3. pollfd::revents
   Though it won't result in any error here, it's better to
   initialize the pollfd structure obj's revents to be 0.

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