]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/scrubber: remove unused PgScrubber::send_full_reset
authorSamuel Just <sjust@redhat.com>
Wed, 8 Feb 2023 04:51:31 +0000 (20:51 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 12 Apr 2023 03:39:19 +0000 (20:39 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber_common.h

index 3be30bf715bdc3705f62986984e6e82e7907c14d..4a252c69887a5c0521d479946b62fdc12563d67e 100644 (file)
@@ -356,16 +356,6 @@ void PgScrubber::send_reservation_failure(epoch_t epoch_queued)
   dout(10) << "scrubber event --<< " << __func__ << dendl;
 }
 
-void PgScrubber::send_full_reset(epoch_t epoch_queued)
-{
-  dout(10) << "scrubber event -->> " << __func__ << " epoch: " << epoch_queued
-          << dendl;
-
-  m_fsm->process_event(Scrub::FullReset{});
-
-  dout(10) << "scrubber event --<< " << __func__ << dendl;
-}
-
 void PgScrubber::send_chunk_free(epoch_t epoch_queued)
 {
   dout(10) << "scrubber event -->> " << __func__ << " epoch: " << epoch_queued
index a48f78d93a3e7db3be55a19ab2ed431fc7ef3782..3aad2cdd85d83706c375b67275a34b2e987722c6 100644 (file)
@@ -344,8 +344,6 @@ class PgScrubber : public ScrubPgIF,
    */
   void on_applied_when_primary(const eversion_t& applied_version) final;
 
-  void send_full_reset(epoch_t epoch_queued) final;
-
   void send_chunk_free(epoch_t epoch_queued) final;
 
   void send_chunk_busy(epoch_t epoch_queued) final;
index b50b280b08e4fe87808ee4305fe1e737bbf36044..a534fd131bf15b44a67a800e9a2eae32eed85bf8 100644 (file)
@@ -223,8 +223,6 @@ struct ScrubPgIF {
   virtual void send_sched_replica(epoch_t epoch_queued,
                                  Scrub::act_token_t token) = 0;
 
-  virtual void send_full_reset(epoch_t epoch_queued) = 0;
-
   virtual void send_chunk_free(epoch_t epoch_queued) = 0;
 
   virtual void send_chunk_busy(epoch_t epoch_queued) = 0;