]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: Add parity delta write optimization to ISA
authorJamie Pryde <jamiepry@uk.ibm.com>
Mon, 28 Oct 2024 14:37:46 +0000 (14:37 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 19 Mar 2025 11:03:55 +0000 (11:03 +0000)
commit7cd136aa7462afff405cf21787825285dd249d06
treecd8940ccaabc9166edd0994bb606834cfda92542
parentf3753fd2b6ebf72804a8809fef8c62c992afb1d1
erasure-code: Add parity delta write optimization to ISA

This commit adds FLAG_EC_PLUGIN_PARITY_DELTA_OPTIMIZATION to the list of
optimizations supported by the ISA plugin, and encode_delta and
apply_delta functions to ISA. Stubs for these functions are added to
the other plugins.
Two new tests have been added to TestErasureCodePlugins.cc to test the
encode_delta and apply_delta functions. The first new test updates a
single parity chunk using a single delta. The second new test updates
all parity chunks with a delta for every data chunk.

Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/erasure-code/ErasureCode.h
src/erasure-code/ErasureCodeInterface.h
src/erasure-code/isa/ErasureCodeIsa.cc
src/erasure-code/isa/ErasureCodeIsa.h
src/test/erasure-code/TestErasureCodePlugins.cc