]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Fix decode for some extent cache reads.
authorAlex Ainscow <aainscow@uk.ibm.com>
Wed, 18 Jun 2025 19:46:49 +0000 (20:46 +0100)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:25 +0000 (14:31 +0100)
commit35d778c306eca00e712b91c150fd7662bf7963a6
treef2723dcefd1df630656688ec2a9a6eb5c171a85b
parent5bbc2bbbeb730a23f37acd541942d16a81fa7287
osd: Fix decode for some extent cache reads.

The extent cache in EC can cause the backend to perform some surprising reads. Some
of the patterns were discovered in test that caused the decode to attempt to
decode more data than was anticipated during the read planning, leading to an
assert. This simple fix reduces the scope of the decode to the minimum.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 2ab45a22397112916bbcdb82adb85f99599e03c0)
src/osd/ECUtil.cc
src/test/osd/TestECBackend.cc