]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: Handle repair once in scrub_finish
authorSamuel Just <sam.just@inktank.com>
Fri, 21 Dec 2012 23:39:50 +0000 (15:39 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 22 Dec 2012 04:35:19 +0000 (20:35 -0800)
commit2e96bb181747808c25f174657d58dc542de0394c
tree85a28e21ce55a1e3b588ecc76b43ed3c81951816
parent00ed6657c91a4d7507072df709cbc26e0ff23e53
PG: Handle repair once in scrub_finish

We don't want to change missing sets during a chunky
scrub since it would cause !is_clean() and derail
the rest of the scrub.  Instead, move the missing,
inconsistent, and authoritative sets into scrubber
and add to during scrub_compare_maps().  Then,
handle repairing objects all at once in scrub_finish().

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