diff options
author | Kefu Chai <kchai@redhat.com> | 2020-12-05 15:54:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 15:54:33 +0100 |
commit | 2272f4b65888b2afa9425e166d7114810d7ae7e7 (patch) | |
tree | c646ec37b6c2b55311b22174aafa98c748f95782 /src/osd/ECBackend.h | |
parent | Merge pull request #37543 from ianwatsonrh/master (diff) | |
parent | osd/ECBackend: optimize remaining read as readop contain multiple objects (diff) | |
download | ceph-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.h | 4 |
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, |