]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Implement sync reads and sparse reads for EC for direct reads
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 3 Oct 2025 13:39:03 +0000 (14:39 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 26 Nov 2025 11:28:25 +0000 (11:28 +0000)
commit127457a85a6dfc6d40e320f3588c7b2e2800d17d
tree3f6b7b0d3fea430afbb163f1034fa4cf9550ebd7
parentc4370146748f20746c4be2f0b3668e9526e1ecd8
osd: Implement sync reads and sparse reads for EC for direct reads

Sparse reads for EC are simple to implement, as the code is essentially
identical to that of replica, with some address translation.

When doing a direct read in EC, only a single OSD is involved and
that OSD, by definition is the only OSD involved. As such we can
do the more performant sync read, rather than async read.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/ECBackend.cc
src/osd/ECBackend.h
src/osd/ECSwitch.h
src/osd/PrimaryLogPG.cc