]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/rdma: Fix broken compilation 13603/head
authorSarit Zubakov <saritz@mellanox.com>
Wed, 22 Feb 2017 18:53:43 +0000 (18:53 +0000)
committerAdir Lev <adirl@mellanox.com>
Thu, 23 Feb 2017 09:31:53 +0000 (11:31 +0200)
Resposible commit is: eb0f624

issue:985021

Change-Id: I5b4afc537a9351dd18f5ea08bf4d72a1b03a8635
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
src/msg/async/rdma/RDMAConnectedSocketImpl.cc
src/msg/async/rdma/RDMAServerSocketImpl.cc

index bb7d55d60cbdb8eb52bc2cd2d59bad2c5dbc03d9..2747193c0ba0a2f43b8ade21defa243d9658753f 100644 (file)
@@ -182,7 +182,7 @@ int RDMAConnectedSocketImpl::try_connect(const entity_addr_t& peer_addr, const S
   }
 
   ldout(cct, 20) << __func__ << " tcp_fd: " << tcp_fd << dendl;
-  net.set_priority(tcp_fd, opts.priority);
+  net.set_priority(tcp_fd, opts.priority, peer_addr.get_family());
   my_msg.peer_qpn = 0;
   r = infiniband->send_msg(cct, tcp_fd, my_msg);
   if (r < 0)
index 231865dd9fac85e1f54424f14a8401bd1a0b142d..95eab99b75b4ecaa88a45e16d5194ddac7dec3c6 100644 (file)
@@ -97,7 +97,7 @@ int RDMAServerSocketImpl::accept(ConnectedSocket *sock, const SocketOptions &opt
     ::close(sd);
     return -errno;
   }
-  net.set_priority(sd, opt.priority);
+  net.set_priority(sd, opt.priority, out->get_family());
 
   RDMAConnectedSocketImpl* server;
   //Worker* w = dispatcher->get_stack()->get_worker();