]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: mark_log_for_rewrite on resurrection
authorSamuel Just <sam.just@inktank.com>
Tue, 26 Aug 2014 23:53:02 +0000 (16:53 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 9 Sep 2014 17:40:12 +0000 (10:40 -0700)
Fixes: #8777
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 8346e10755027e982f26bab4642334fd91cc31aa)

src/osd/PG.cc

index 120aac03d1e261456723ab8f9730f5776dc1b5af..6394e1bd4be1f95f96bd064624402091b988530e 100644 (file)
@@ -2347,6 +2347,7 @@ void PG::init(
     dout(10) << __func__ << ": Setting backfill" << dendl;
     info.last_backfill = hobject_t();
     info.last_complete = info.last_update;
+    pg_log.mark_log_for_rewrite();
   }
 
   reg_next_scrub();