summaryrefslogtreecommitdiffstats
path: root/src/osd/ECBackend.h
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-12-05 15:54:33 +0100
committerGitHub <noreply@github.com>2020-12-05 15:54:33 +0100
commit2272f4b65888b2afa9425e166d7114810d7ae7e7 (patch)
treec646ec37b6c2b55311b22174aafa98c748f95782 /src/osd/ECBackend.h
parentMerge pull request #37543 from ianwatsonrh/master (diff)
parentosd/ECBackend: optimize remaining read as readop contain multiple objects (diff)
downloadceph-2272f4b65888b2afa9425e166d7114810d7ae7e7.tar.xz
ceph-2272f4b65888b2afa9425e166d7114810d7ae7e7.zip
Merge pull request #35821 from Aran85/fix-ec-read
osd/ECBackend: optimize remaining read as readop contain multiple objects Reviewed-by: Josh Durgin <jdurgin@redhat.com> Reviewed-by: David Zafman <dzafman@redhat.com>
Diffstat (limited to 'src/osd/ECBackend.h')
-rw-r--r--src/osd/ECBackend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/ECBackend.h b/src/osd/ECBackend.h
index d13be3f25c6..c39de1bfeeb 100644
--- a/src/osd/ECBackend.h
+++ b/src/osd/ECBackend.h
@@ -348,8 +348,8 @@ public:
};
struct read_request_t {
const std::list<boost::tuple<uint64_t, uint64_t, uint32_t> > to_read;
- const std::map<pg_shard_t, std::vector<std::pair<int, int>>> need;
- const bool want_attrs;
+ std::map<pg_shard_t, std::vector<std::pair<int, int>>> need;
+ bool want_attrs;
GenContext<std::pair<RecoveryMessages *, read_result_t& > &> *cb;
read_request_t(
const std::list<boost::tuple<uint64_t, uint64_t, uint32_t> > &to_read,