]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: only increment active_scrub on primary for final push
authorSamuel Just <sam.just@inktank.com>
Fri, 30 Nov 2012 22:04:53 +0000 (14:04 -0800)
committerSamuel Just <sam.just@inktank.com>
Fri, 30 Nov 2012 22:04:53 +0000 (14:04 -0800)
commit49f32cee647c5bd09f36ba7c9fd4f481a697b9d7
treec1122c898c49727029a2cfc529e13342f8bd29ad
parent494711e6c9cc79c74845c0dfb78456f39f27050c
ReplicatedPG: only increment active_scrub on primary for final push

We only queue the _applied_recovered_object callback on the primary for the
final push.  It is this callback which decrements active_pushes.  It's ok to
not increment active_pushes for the intermediate pushes since these only affact
a temp file.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc