Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
return false;
}
-bool PG::adjust_need_up_thru(PgPriorSet &prior, const OSDMap *osdmap)
+bool PG::adjust_need_up_thru(const OSDMap *osdmap)
{
epoch_t up_thru = osd->osdmap->get_up_thru(osd->whoami);
if (need_up_thru &&
return transit< Reset >();
}
- pg->adjust_need_up_thru(*prior_set.get(), &advmap.osdmap);
+ pg->adjust_need_up_thru(&advmap.osdmap);
return forward_event();
}
void clear_prior();
bool prior_set_affected(PgPriorSet &prior, const OSDMap *osdmap) const;
- bool adjust_need_up_thru(PgPriorSet &prior, const OSDMap *osdmap);
+ bool adjust_need_up_thru(const OSDMap *osdmap);
bool all_unfound_are_lost(const OSDMap* osdmap) const;
void mark_obj_as_lost(ObjectStore::Transaction& t,