From: Sage Weil Date: Wed, 10 Dec 2008 23:07:57 +0000 (-0800) Subject: osd: small cleanup X-Git-Tag: v0.6~100 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=19eb21b36dd070fe29c9c7c81194ebaaece5acc1;p=ceph.git osd: small cleanup --- diff --git a/src/osd/PG.h b/src/osd/PG.h index 6884b3a54c80..a3da7b4f2490 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -620,6 +620,7 @@ protected: set prior_set_down; // down osds exluded from prior_set map prior_set_up_thru; // osds whose up_thru we care about bool must_notify_mon; + bool need_up_thru; set stray_set; // non-acting osds that have PG data. set uptodate_set; // current OSDs that are uptodate eversion_t oldest_update; // lowest (valid) last_update in active set @@ -628,7 +629,6 @@ protected: map peer_missing; set peer_log_requested; // logs i've requested (and start stamps) set peer_summary_requested; - bool need_up_thru; friend class OSD; @@ -745,7 +745,7 @@ public: role(0), state(0), have_master_log(true), - must_notify_mon(false), + must_notify_mon(false), need_up_thru(false), pg_stats_lock("PG::pg_stats_lock"), pg_stats_valid(false), finish_sync_event(NULL)