]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: heartbeat handle reset by lookup
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 27 Mar 2020 07:33:27 +0000 (15:33 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 15 Jun 2020 14:06:42 +0000 (22:06 +0800)
commit3f31541cb6496d36bcfedf4923f43eb235d8df16
treea0f66a523146a13c72b7afea1979b76c60bb77c4
parent725627ef4deeb425b10aceed06b6980c89f39cf0
crimson/osd: heartbeat handle reset by lookup

use map lookup instead of linear search to find peer during reset, and
connect to the heartbeat peer by entity_name_t.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/heartbeat.cc