summaryrefslogtreecommitdiffstats
path: root/src/crimson/osd/pg_recovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crimson/osd/pg_recovery.h')
-rw-r--r--src/crimson/osd/pg_recovery.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/crimson/osd/pg_recovery.h b/src/crimson/osd/pg_recovery.h
index 705b3176b97..5c7b5c5ef2b 100644
--- a/src/crimson/osd/pg_recovery.h
+++ b/src/crimson/osd/pg_recovery.h
@@ -25,6 +25,8 @@ class PGBackend;
class PGRecovery : public crimson::osd::BackfillState::BackfillListener {
public:
+ using interruptor =
+ crimson::interruptible::interruptor<crimson::osd::IOInterruptCondition>;
template <typename T = void>
using interruptible_future = RecoveryBackend::interruptible_future<T>;
PGRecovery(PGRecoveryListener* pg) : pg(pg) {}
@@ -45,6 +47,10 @@ public:
seastar::future<> stop() { return seastar::now(); }
void on_pg_clean();
+ void enqueue_push(
+ const hobject_t& obj,
+ const eversion_t& v,
+ const std::vector<pg_shard_t> &peers) final;
private:
PGRecoveryListener* pg;
size_t start_primary_recovery_ops(
@@ -108,10 +114,6 @@ private:
const hobject_t& end) final;
void request_primary_scan(
const hobject_t& begin) final;
- void enqueue_push(
- const hobject_t& obj,
- const eversion_t& v,
- const std::vector<pg_shard_t> &peers) final;
void enqueue_drop(
const pg_shard_t& target,
const hobject_t& obj,