]> 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)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
commit1a91c3d5f35b22e1fbcf8509d25c96d684301a80
tree587c83394a173a9092c1ef5a9314b9832743f68d
parent43fdccd8911758df6833c1806e4c797b1bced9a8
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