diff options
author | Ronen Friedman <rfriedma@redhat.com> | 2023-12-23 17:18:41 +0100 |
---|---|---|
committer | Ronen Friedman <rfriedma@redhat.com> | 2024-01-05 15:44:21 +0100 |
commit | 569c07f979d9f0846f803565dfc35ed0f9acaba8 (patch) | |
tree | 8798c89e5e61ede922e615b83173ff6743ebfbe3 /src/osd/scrubber_common.h | |
parent | osd/scrub: add a "clean primary" base state (diff) | |
download | ceph-569c07f979d9f0846f803565dfc35ed0f9acaba8.tar.xz ceph-569c07f979d9f0846f803565dfc35ed0f9acaba8.zip |
osd/scrub: manage queue registration lifetime in the FSM
As the state of 'being registered in the OSDs scrub queue'
corresponds to the PrimaryActive FSM state.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/osd/scrubber_common.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/osd/scrubber_common.h b/src/osd/scrubber_common.h index fbbef578ae6..b41a9b4bba8 100644 --- a/src/osd/scrubber_common.h +++ b/src/osd/scrubber_common.h @@ -410,12 +410,6 @@ struct ScrubPgIF { virtual bool reserve_local() = 0; /** - * if activated as a Primary - register the scrub job with the OSD - * scrub queue - */ - virtual void on_pg_activate(const requested_scrub_t& request_flags) = 0; - - /** * Recalculate the required scrub time. * * This function assumes that the queue registration status is up-to-date, @@ -431,8 +425,6 @@ struct ScrubPgIF { */ virtual void handle_scrub_reserve_msgs(OpRequestRef op) = 0; - virtual void rm_from_osd_scrubbing() = 0; - virtual scrub_level_t scrub_requested( scrub_level_t scrub_level, scrub_type_t scrub_type, |