]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: scrub: wait for digest updates to apply before next scrub chunk 3134/head
authorSage Weil <sage@redhat.com>
Wed, 17 Dec 2014 00:39:35 +0000 (16:39 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:30:06 +0000 (07:30 -0800)
commit218de829b1affa8ed413572736fcc3314f65730b
treebf9174b8d0a709039991d4b6c34b6200b7fa0aec
parent1646d17026345f8cfb36a6d11a8fe29500733576
osd: scrub: wait for digest updates to apply before next scrub chunk

Wait for any digest updates to apply before we scrub the next chunk.  This
bounds the number of repops we initiate by the size of the scrub chunk, and
it generally nicer to the cluster.

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