]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: track backfill with last_backfill, not interval_set<>
authorSage Weil <sage.weil@dreamhost.com>
Mon, 5 Dec 2011 19:38:12 +0000 (11:38 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 14 Dec 2011 19:31:33 +0000 (11:31 -0800)
commit400c27da9da71a5737535dc2118b95b2a0a5156c
tree2d10194897f137a1c9c59d21f4984cbef6035067
parent0e7f4affa5ab5e2b09819bc9368dd09bb28554fc
osd: track backfill with last_backfill, not interval_set<>

We always fill from the bottom up anyway.  Using an hobject_t also gives us
a precise bound.  It also makes things conceptually simpler: last_complete
and last_backfill bounding each of the two dimensions of updatedness.

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