From 82077e7116167488484c2ef697f0661546865434 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 17 Sep 2017 18:27:44 -0500 Subject: [PATCH] osd/PG: drop unneeded write_if_dirty Nothing in start_recovery_ops or stuck_on_unfound dirties state. Signed-off-by: Sage Weil --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9aa70ee7a1c..fa5104494ad 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(