]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: decrease the coupling between client and recovery reads in ECBackend
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 29 Jun 2023 19:01:19 +0000 (19:01 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 9 Jan 2024 15:09:53 +0000 (15:09 +0000)
commitf5fd8bd9e3b0188d6a23339366da1804957c14ce
treeb9056d19e8eebd4038fd361964eb390ae42f0928
parent31efa5bf550f366f71801ad39650feb3d7db0eec
osd: decrease the coupling between client and recovery reads in ECBackend

`complete_read_op()` being aware about `RecoveryMessages` was too much.

TODO:
  * rename or rework `RecoveryMessages`. Since now it's also
    a callack for `ReadOp::on_complete`. I don't like that.
  * drop the `pair<RecoveryMessages*, read_request_t&>`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ECBackend.cc
src/osd/ECBackend.h