]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ECBackend: store the original needed shards in a ReadOp
authorJosh Durgin <jdurgin@redhat.com>
Tue, 10 Apr 2018 01:47:46 +0000 (21:47 -0400)
committerDavid Zafman <dzafman@redhat.com>
Wed, 9 May 2018 22:41:34 +0000 (15:41 -0700)
commit952d42a7e9a429a1a26d102f333c9f532e965562
treea697fb56452d43023d1da328169aa31b064c3309
parent4e2213e5dc12fa43788ee22ca6cd8f51a27f74ec
osd/ECBackend: store the original needed shards in a ReadOp

This avoids extra logic recomputing them due to EIO or redundant
reads.

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

Conflicts:
src/osd/ECBackend.cc (trivial)
src/osd/ECBackend.cc
src/osd/ECBackend.h