From: Sage Weil Date: Tue, 18 Oct 2011 00:42:48 +0000 (-0700) Subject: osd: PgPriorSet: clean up comments a bit X-Git-Tag: v0.38~57^2~43 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53381364bce1ce5a03c420337ba1d5fe568960f9;p=ceph.git osd: PgPriorSet: clean up comments a bit Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.h b/src/osd/PG.h index 7e3ae5a3c5aa..56d3c42471ce 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -843,12 +843,12 @@ public: bool prior_set_built; struct PgPriorSet { - set cur; // current+prior OSDs, as defined by info.history.last_epoch_started. - set down; // down osds that would normally be in cur - set lost; // osds in the prior set which are lost + set cur; /// current+prior OSDs we need to probe. + set down; /// down osds that would normally be in @cur and might be interesting. + set 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 &past_intervals,