]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 20 Apr 2018 23:28:59 +0000 (19:28 -0400)
commit0f9474d4e8e54cb8784cc2dbaa50318c2ff8e667
treec1393159623f223cccfa7c21c38d9d786ec3e59e
parent507b8728585878830fe01c9c7cdc9d4bc8e5b477
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>
src/osd/ECBackend.cc
src/osd/ECBackend.h