]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: small cleanup
authorSage Weil <sage@newdream.net>
Wed, 10 Dec 2008 23:07:57 +0000 (15:07 -0800)
committerSage Weil <sage@newdream.net>
Wed, 10 Dec 2008 23:07:57 +0000 (15:07 -0800)
src/osd/PG.h

index 6884b3a54c80a196676492230faf59d372a39051..a3da7b4f249026c3c05e9112a788ee5a8af4b9e8 100644 (file)
@@ -620,6 +620,7 @@ protected:
   set<int>    prior_set_down;          // down osds exluded from prior_set
   map<int,epoch_t> prior_set_up_thru;  // osds whose up_thru we care about
   bool        must_notify_mon;
+  bool        need_up_thru;
   set<int>    stray_set;   // non-acting osds that have PG data.
   set<int>    uptodate_set;  // current OSDs that are uptodate
   eversion_t  oldest_update; // lowest (valid) last_update in active set
@@ -628,7 +629,6 @@ protected:
   map<int, Missing>    peer_missing;
   set<int>             peer_log_requested;  // logs i've requested (and start stamps)
   set<int>             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)