]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: do not queue the snap trimmer constantly
authorSamuel Just <sam.just@inktank.com>
Mon, 29 Sep 2014 23:26:54 +0000 (16:26 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 27 Oct 2014 21:08:03 +0000 (14:08 -0700)
commit01efc44adea6a16bed24fb10b67fe0cbd6a7595c
tree9a499e80c737b39807ff4ee0367e40321c003901
parent1f9961221f7cbec2814612f444dc669f94bed69d
ReplicatedPG: do not queue the snap trimmer constantly

Previously, we continuously requeued the snap trimmer while in
TrimmingObjects.  This is not a good idea now that we try to
limit the number of snap trimming repops in flight and requeue
the snap trimmer directly as those repops complete.

Fixes: #9113
Backport: giant, dumpling, firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 34f38b68d89baf1dcbb4571d4f4d3076dc354538)

Conflicts:
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h