From 85fd7d40eec0602af76d9d86a698c1232a1aa8fc Mon Sep 17 00:00:00 2001 From: simon gao Date: Thu, 21 Mar 2019 23:49:32 -0400 Subject: [PATCH] mds: initialize cap_revoke_eviction_timeout with conf Fixes: http://tracker.ceph.com/issues/38844 Signed-off-by: simon gao (cherry picked from commit dc5c77f6d7c33d9ad1ceb54d51faa705cdc039ce) Conflicts: src/mds/Server.cc - g_conf->get_val --- src/mds/Server.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 06aae414b443d..55a11c8645c04 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -200,6 +200,7 @@ Server::Server(MDSRank *m) : reconnect_evicting(false), terminating_sessions(false) { + cap_revoke_eviction_timeout = g_conf->get_val("mds_cap_revoke_eviction_timeout"); supported_features = feature_bitset_t(CEPHFS_FEATURES_MDS_SUPPORTED); } -- 2.39.5