]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Add extent_to_shard_extent interface to PGBackend.
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 3 Oct 2025 13:24:49 +0000 (14:24 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 26 Nov 2025 11:28:25 +0000 (11:28 +0000)
commitc4370146748f20746c4be2f0b3668e9526e1ecd8
tree9d623ddd1780c6079019b2bc8fb46998e8a64fbf
parent332b547ff8eb86fda076f098c2d3b740d67c4e2f
osd: Add extent_to_shard_extent interface to PGBackend.

This allows a backend to expose how an object offset/length translates to
an offset/length on a particular shard.

For Replica, this is trivial.

For EC, this means looking up the start and end offsets, then translating
this to shard address space.

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