]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Optimised EC should avoid decodes off the end of objects.
authorAlex Ainscow <aainscow@uk.ibm.com>
Fri, 6 Jun 2025 11:09:04 +0000 (12:09 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 1 Jul 2025 12:03:30 +0000 (13:03 +0100)
commitbd9d44dd89a7fa587182cf49c1f444c79126a99e
tree211612bc705cb68657a70f59405fed1e7c0ed10a
parent7ab0588ad2853030bf0e716a5f887e0fe714b314
osd: Optimised EC should avoid decodes off the end of objects.

This was a particular edge case whereby the need to do an encode and a decode as part of recovery
was causing EC to attempt to do a decode off the end of the shard, despite this being
unnecessary.

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