]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ECBackend: recover from EIO based on the minimum data necessary
authorJosh Durgin <jdurgin@redhat.com>
Fri, 20 Apr 2018 22:39:40 +0000 (18:39 -0400)
committerDavid Zafman <dzafman@redhat.com>
Wed, 9 May 2018 22:44:01 +0000 (15:44 -0700)
commit35ddfdeac2e0394a8300548c262fe433e8951bd6
tree2f06812061d1205d9e3ea04a052f2c06a4344502
parente9e4c42bf098ab9ae2b5d60e7d3a8f688d70e3db
osd/ECBackend: recover from EIO based on the minimum data necessary

Discount shards that already returned EIO, and use minimum_to_decode()
to request just what is necessary to recover or read the originally
requested extents of the object.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit b162a5478d6a907cc0a9ddd5ae8442e81f8d8fb3)

Conflicts:
src/osd/ECBackend.cc (Adjust for Luminous not having subchunks)
src/osd/ECBackend.h (trivial)
qa/standalone/erasure-code/test-erasure-eio.sh
src/osd/ECBackend.cc
src/osd/ECBackend.h