This, among other things, lets us update last_epoch_started and
last_epoch_clean.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
assert(is_active());
info.stats = oinfo.stats;
+ osd->unreg_last_pg_scrub(info.pgid, info.history.last_scrub_stamp);
+ info.history.merge(oinfo.history);
+ osd->reg_last_pg_scrub(info.pgid, info.history.last_scrub_stamp);
+
// Handle changes to purged_snaps
interval_set<snapid_t> p;
p.union_of(oinfo.purged_snaps, info.purged_snaps);