* refs/pull/29059/head:
mds: complete all the replay op when mds is restarted ,no matter the session is closed or not.
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
terminating_sessions(false),
recall_throttle(g_conf().get_val<double>("mds_recall_max_decay_rate"))
{
+ replay_unsafe_with_closed_session = g_conf().get_val<bool>("mds_replay_unsafe_with_closed_session");
cap_revoke_eviction_timeout = g_conf().get_val<double>("mds_cap_revoke_eviction_timeout");
+ max_snaps_per_dir = g_conf().get_val<uint64_t>("mds_max_snaps_per_dir");
supported_features = feature_bitset_t(CEPHFS_FEATURES_MDS_SUPPORTED);
}
feature_bitset_t supported_features;
feature_bitset_t required_client_features;
+ bool replay_unsafe_with_closed_session = false;
double cap_revoke_eviction_timeout = 0;
+ uint64_t max_snaps_per_dir = 100;
friend class MDSContinuation;
friend class ServerContext;