]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Replace unused EC offset translation function with useful one.
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 3 Oct 2025 12:53:33 +0000 (13:53 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 21 Oct 2025 13:34:54 +0000 (14:34 +0100)
commit789635cccd7b023c723a296a18eb4d79dd3dd306
tree1485c9bd22a0b6294e2b5bf4f71ab50ec1585ea8
parentdd5ce65d332e96d214eae361057240e0108be351
osd: Replace unused EC offset translation function with useful one.

The old chunk_aligned_shard_offset_to_ro_offset was not only unused, it
didn't actually have the correct logic. We replace it here with similar,
but more useful function that will be used in sparse reads for EC

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/ECUtil.h
src/test/osd/TestECBackend.cc