]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: EIO if a full-object read produces a bad digest
authorSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 20:50:52 +0000 (12:50 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:30:04 +0000 (07:30 -0800)
commit75b2bc282300709ce93d0bc48d8432a4d64eb948
treeb2c46fea12963bd78a92c4350cdda935458871d4
parent55bf020b5763e31c6de96bfd9909115a5a7a3261
osd: EIO if a full-object read produces a bad digest

Add a tunable to control this.  Returning an EIO instead of garbled data
may not be the best approach in all environments.

Eventually we want to do something better here, like read from a replica
instead.

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