]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
erasure-code: Add minimum granularity interface to EC plugins
authorJamie Pryde <jamiepry@uk.ibm.com>
Tue, 26 Nov 2024 10:00:25 +0000 (10:00 +0000)
committerJon Bailey <jonathan.bailey1@ibm.com>
Wed, 5 Mar 2025 16:15:01 +0000 (16:15 +0000)
commit678ed6e1b0957b7168df46ebe14223d7a1f93f09
treef772d136b4d5e269f486166a11e834f560544e23
parent302756c58948d6da44c9dc7eebbe4b1691f4413d
erasure-code: Add minimum granularity interface to EC plugins

Add get_minimum_granularity() function to the EC plugin interface,
which returns the minimum size in bytes that can be used for partial writes.
This is based on the minimum size of coding chunk update
that the particular technique supports.

Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
src/erasure-code/ErasureCodeInterface.h
src/erasure-code/clay/ErasureCodeClay.cc
src/erasure-code/clay/ErasureCodeClay.h
src/erasure-code/isa/ErasureCodeIsa.h
src/erasure-code/jerasure/ErasureCodeJerasure.h
src/erasure-code/lrc/ErasureCodeLrc.cc
src/erasure-code/lrc/ErasureCodeLrc.h
src/erasure-code/shec/ErasureCodeShec.h
src/test/erasure-code/ErasureCodeExample.h
src/test/erasure-code/TestErasureCode.cc