OPTION(osd_push_per_object_cost, OPT_U64) // push cost per object
OPTION(osd_max_push_cost, OPT_U64) // max size of push message
OPTION(osd_max_push_objects, OPT_U64) // max objects in single push op
-OPTION(osd_recovery_forget_lost_objects, OPT_BOOL) // off for now
OPTION(osd_max_scrubs, OPT_INT)
OPTION(osd_scrub_during_recovery, OPT_BOOL) // Allow new scrubs to start while recovery is active on the OSD
OPTION(osd_scrub_begin_hour, OPT_INT)
.set_default(10)
.set_description(""),
- Option("osd_recovery_forget_lost_objects", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
- .set_default(false)
- .set_description(""),
-
Option("osd_max_scrubs", Option::TYPE_INT, Option::LEVEL_ADVANCED)
.set_default(1)
.set_description("Maximum concurrent scrubs on a single OSD"),
pg_shard_t fromosd,
RecoveryCtx*);
- void check_for_lost_objects();
- void forget_lost_objects();
-
void discover_all_missing(std::map<int, map<spg_t,pg_query_t> > &query_map);
- void trim_write_ahead();
-
map<pg_shard_t, pg_info_t>::const_iterator find_best_info(
const map<pg_shard_t, pg_info_t> &infos,
bool restrict_to_up_acting,