]> 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 23094/head
authorSage Weil <sage@redhat.com>
Sat, 14 Jul 2018 17:39:15 +0000 (12:39 -0500)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 17 Jul 2018 14:20:54 +0000 (16:20 +0200)
commitac56fb112ae20719d55a727f37869e49947fa5f4
tree5a301ee6fb5b6eead76cdfda7c610f2eddc8d00d
parente583acc359147800f8c82129449556540301302b
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>
(cherry picked from commit 101e88aa70ac56100a631a2da503b8b0ecb4f625)

Conflicts:
src/osd/ECBackend.cc
  drop the non existant skip_data_digest in L
  drop the non existant skip_data_digest in L
src/osd/ECBackend.cc
src/osd/ReplicatedBackend.cc