From: Samuel Just Date: Tue, 26 Aug 2014 23:53:02 +0000 (-0700) Subject: PG: mark_log_for_rewrite on resurrection X-Git-Tag: v0.80.6~4^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa645b21b587b6a1d9adbb9cedce1af3af1e5a62;p=ceph.git PG: mark_log_for_rewrite on resurrection Fixes: #8777 Backport: firefly Signed-off-by: Samuel Just (cherry picked from commit 8346e10755027e982f26bab4642334fd91cc31aa) --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 294e2601cc6d4..3e6d7070ec4d2 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -2360,6 +2360,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();