]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: scrub: disqualify shards with digests that disagree with oi digest
authorSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 00:36:15 +0000 (16:36 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:30:01 +0000 (07:30 -0800)
commit14f3c26a1fa7ebe49c2326dc6f1cc0e0c12bfe2c
tree975e6e5c486a1f3c7f817a58db8bf6d485055263
parentcf3b04764d118db09bb9a7511016070f5d85f042
osd: scrub: disqualify shards with digests that disagree with oi digest

The auth may or may not know that the digest is truly bad.  Note that we
can only relate scrub digests to those in oi if the scrub used a seed of
-1; older OSDs use 0.

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