From: Wei Jin Date: Sun, 29 May 2016 09:36:03 +0000 (+0800) Subject: mon: remove nonused data structure X-Git-Tag: v11.1.0~174^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b01df7407ef43d802be67bd87f696cd6c9aee465;p=ceph.git mon: remove nonused data structure Signed-off-by: Wei Jin --- diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h index 1f6be858d0dc..8c2d78f7522d 100644 --- a/src/mon/Monitor.h +++ b/src/mon/Monitor.h @@ -538,30 +538,7 @@ private: *abs = abs_skew; return (abs_skew > g_conf->mon_clock_drift_allowed); } - /** - * @} - */ - /** - * @defgroup Monitor_h_stats Keep track of monitor statistics - * @{ - */ - struct MonStatsEntry { - // data dir - uint64_t kb_total; - uint64_t kb_used; - uint64_t kb_avail; - unsigned int latest_avail_ratio; - utime_t last_update; - }; - - struct MonStats { - MonStatsEntry ours; - map others; - }; - - MonStats stats; - void stats_update(); /** * @} */