From: Sage Weil Date: Sun, 17 Sep 2017 23:27:44 +0000 (-0500) Subject: osd/PG: drop unneeded write_if_dirty X-Git-Tag: v13.0.1~634^2~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=82077e7116167488484c2ef697f0661546865434;p=ceph.git osd/PG: drop unneeded write_if_dirty Nothing in start_recovery_ops or stuck_on_unfound dirties state. Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9aa70ee7a1c4..fa5104494ad1 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5771,7 +5771,6 @@ void PG::stuck_on_unfound(epoch_t queued, bool wip, RecoveryCtx *rctx) queue_recovery(); } } - write_if_dirty(*rctx->transaction); } void PG::handle_advance_map(