]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid calling g_conf().get_val() in MDSRank::heartbeat_reset() 36487/head
authorYan, Zheng <zyan@redhat.com>
Wed, 5 Aug 2020 14:23:05 +0000 (22:23 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 6 Aug 2020 07:46:47 +0000 (15:46 +0800)
commit778ea0214215172c75b03c6299e2d72c4903b6b1
tree5e8e6132c0279065c674314786ce82ec937b88a1
parentbb2594200b2a743ce61485ce4d2a27343925d85b
mds: avoid calling g_conf().get_val() in MDSRank::heartbeat_reset()

g_conf().get_val() is expensive.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDSRank.cc
src/mds/MDSRank.h