}
}
+Context *PG::on_clean()
+{
+ // Not needed yet (will be needed for IO unblocking)
+ return nullptr;
+}
+
+void PG::on_active_actmap()
+{
+ // Not needed yet
+}
+
+void PG::on_active_advmap(const OSDMapRef &osdmap)
+{
+ // Not needed yet
+}
+
void PG::scrub_requested(scrub_level_t scrub_level, scrub_type_t scrub_type)
{
// TODO: should update the stats upon finishing the scrub
void on_new_interval() final {
// Not needed yet
}
- Context *on_clean() final {
- // Not needed yet (will be needed for IO unblocking)
- return nullptr;
- }
+ Context *on_clean() final;
void on_activate_committed() final {
// Not needed yet (will be needed for IO unblocking)
}
void set_ready_to_merge_target(eversion_t lu, epoch_t les, epoch_t lec) final {}
void set_ready_to_merge_source(eversion_t lu) final {}
- void on_active_actmap() final {
- // Not needed yet
- }
- void on_active_advmap(const OSDMapRef &osdmap) final {
- // Not needed yet
- }
+ void on_active_actmap() final;
+ void on_active_advmap(const OSDMapRef &osdmap) final;
epoch_t cluster_osdmap_trim_lower_bound() final {
// TODO