]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore 23052/head
authorSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 17:39:15 +0000 (12:39 -0500)
committerSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 17:39:15 +0000 (12:39 -0500)
commit101e88aa70ac56100a631a2da503b8b0ecb4f625
tree86b012d39262ffc32e0d5b8f62b693d34e3fc847
parent3e8ddaf30105f98dbd68ddb90eab2261d9e51678
osd: fix deep scrub with osd_skip_data_digest=true (default) and bluestore

The osd_skip_data_digest is about skipping the storing and checking of a
full-object data digest.  Here it is also disabling crc checks during
deep-scrub, which prevents us from detecting crc differences across
replicas.  Fix!

Fixes: http://tracker.ceph.com/issues/24922
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ECBackend.cc
src/osd/ReplicatedBackend.cc