]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/pg_recovery: reset backfill_state when backfill finished
authorXuehan Xu <xuxuehan@qianxin.com>
Sat, 10 Aug 2024 06:22:52 +0000 (14:22 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 15 Aug 2024 08:10:37 +0000 (08:10 +0000)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/pg_recovery.cc

index 09c93ed341e26fb8f74d8465f23ccd0a53986bf7..8c1f13827c6d6740d8fa9a88c9c8616fc82e7c95 100644 (file)
@@ -605,6 +605,7 @@ bool PGRecovery::budget_available() const
 
 void PGRecovery::backfilled()
 {
+  backfill_state.reset();
   using LocalPeeringEvent = crimson::osd::LocalPeeringEvent;
   std::ignore = pg->get_shard_services().start_operation<LocalPeeringEvent>(
     static_cast<crimson::osd::PG*>(pg),