]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: PgPriorSet: clean up comments a bit
authorSage Weil <sage@newdream.net>
Tue, 18 Oct 2011 00:42:48 +0000 (17:42 -0700)
committerSage Weil <sage@newdream.net>
Tue, 18 Oct 2011 00:44:51 +0000 (17:44 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/PG.h

index 7e3ae5a3c5aa1ffd9fbfeed1dc98b18aac8c2f68..56d3c42471ce63b90dd7ba39756c342c5808f854 100644 (file)
@@ -843,12 +843,12 @@ public:
   bool prior_set_built;
 
   struct PgPriorSet {
-    set<int>    cur;   // current+prior OSDs, as defined by info.history.last_epoch_started.
-    set<int>    down;  // down osds that would normally be in cur
-    set<int>    lost;  // osds in the prior set which are lost
+    set<int> cur;   /// current+prior OSDs we need to probe.
+    set<int> down;  /// down osds that would normally be in @cur and might be interesting.
+    set<int> lost;  /// down osds that would normally be in @cur but we won't wait for.
     bool crashed;   /// true if past osd failures were such that clients may need to replay requests.
-    bool pg_down;   /// the DOWN state big for this pg will get set
     const PG *pg;
+    bool pg_down;   /// some down osds are included in @cur; the DOWN pg state bit should be set.
     PgPriorSet(int whoami,
               const OSDMap &osdmap,
               const map<epoch_t, Interval> &past_intervals,