X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fmon%2FOSDMonitor.h;h=131f789ebdbcac2a5a155a5ed22ede2b1e92211f;hb=f6b5b4d738b87d88d2de35127b6b0e41eae2a272;hp=86878aa315ae70df7c27aeb15717b312d53284db;hpb=12732ca2e80d168d344a265acffc1fbd1fa1f1b5;p=ceph.git diff --git a/ceph/src/mon/OSDMonitor.h b/ceph/src/mon/OSDMonitor.h index 86878aa31..131f789eb 100644 --- a/ceph/src/mon/OSDMonitor.h +++ b/ceph/src/mon/OSDMonitor.h @@ -669,6 +669,10 @@ protected: int32_t _allocate_osd_id(int32_t* existing_id); + int get_grace_interval_threshold(); + bool grace_interval_threshold_exceeded(int last_failed); + void set_default_laggy_params(int target_osd); + public: OSDMonitor(CephContext *cct, Monitor *mn, Paxos *p, const string& service_name);