]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/pg: drop unnecessary update_heartbeat_peers()
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Mar 2016 12:01:16 +0000 (20:01 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 25 Mar 2016 14:14:19 +0000 (22:14 +0800)
commit81d692922b201b9585c9647a01e63013907a4532
treeb02d9f52cb504c7b0d009c8fdeac28178f4e3a54
parente29257e43dc5f2ece008824db049889652d738fb
osd/pg: drop unnecessary update_heartbeat_peers()

The proc_replica_info() method will do the same job in a
smarter way, so the succeeding call to update_heartbeat_peers()
is unnecessary and cost expensive.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc