]> 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>
Wed, 26 Nov 2025 11:28:24 +0000 (11:28 +0000)
commit454ea7cdee30df29deeadcfe0a2d8f488931a40b
treecafcb6a8f8823830946703f949a5f57e70fae1a2
parentac8816c970362ad62ba743454fbc8ffa91f35fb0
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