]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: drop unneeded write_if_dirty
authorSage Weil <sage@redhat.com>
Sun, 17 Sep 2017 23:27:44 +0000 (18:27 -0500)
committerSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 18:08:18 +0000 (13:08 -0500)
Nothing in start_recovery_ops or stuck_on_unfound dirties state.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc

index 9aa70ee7a1c4386db7c0a023e3a737bcea62fd0a..fa5104494ad1868935fc6191b13697156407fcbc 100644 (file)
@@ -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(