]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: track target_addr for each connection
authorSage Weil <sage@redhat.com>
Tue, 12 Jun 2018 19:35:18 +0000 (14:35 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Jul 2018 18:01:24 +0000 (13:01 -0500)
commitd1a783a5f733abc66812684b63f35c798522080f
treea03175c44556df30f5d1c70fdf0e5e3c56123937
parentccad66390f4e8765185a42946e680759259b5631
msg/async: track target_addr for each connection

The target_addr is item from peer_addrs that we are using for the
connection.  On accept, we learn it during the handshake.  On connect,
we choose it early on (first item in addrvec that we understand).

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h
src/msg/async/AsyncMessenger.cc