]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add incomplete, backfill states; simplify calculation
authorSage Weil <sage.weil@dreamhost.com>
Wed, 7 Dec 2011 00:00:48 +0000 (16:00 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 14 Dec 2011 19:32:21 +0000 (11:32 -0800)
commitcd0c8fb324c08814643c420427d93a539ee0e8b0
tree048571c6af79c8efb3a4778b9f55d239038b0418
parentaf7536d0aa56c39481a151610309269c2866e40b
osd: add incomplete, backfill states; simplify calculation

Set/clear states in peering state machine state ctor/dtors where possible.

Set degraded if the number of non-backfilling replicas is lower than the
target replication factor.

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