]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common, osd: Remove osd_read_eio_on_bad_digest config variable
authorDavid Zafman <dzafman@redhat.com>
Thu, 6 Aug 2015 23:15:05 +0000 (16:15 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 27 Aug 2015 21:03:22 +0000 (14:03 -0700)
commit450149213eec90b01103b47e35b9784a3ef92ab3
treed27c881811526dc97561358926b9e6c4e2d9c9ed
parent1febe89d926803a58bbef648804dd6aa8c2ea131
common, osd: Remove osd_read_eio_on_bad_digest config variable

In order to handle erasure coded reads where additional chunks would be able to
substitute for some bad chunks, we really need to return an indication
of bad digests or incorrectly sized chunks.  We are simply using
the error return of -EIO to convey that information for future use.

Signed-off-by: David Zafman <dzafman@redhat.com>
src/common/config_opts.h
src/osd/ReplicatedPG.cc