]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix GetInfo down check
authorSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 18:20:58 +0000 (11:20 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 18:20:58 +0000 (11:20 -0700)
commitb8055b45318ce2f3640c4fe529eed78e000fba85
tree1e236e719ca8af42acc88564526eaf3b5dbe382b
parentdb4026d24e94088b606da87d4cea0633543c2642
osd: fix GetInfo down check

The PgPriorSet::down set can have lots of stuff it in without it affecting
peering completion.  We just need to look at the some_down flag to tell us
if any nodes in the _cur_ set are down, which indicates no progress is
possible (unless/until someone starts up again or last_epoch_started moves
forward in time).

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc