]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
erasure-code: use cauchy if K and M values are not supported by ISA-L reed_sol_van
authorJamie Pryde <jamiepry@uk.ibm.com>
Wed, 13 Aug 2025 10:57:40 +0000 (11:57 +0100)
committerJamie Pryde <jamiepry@uk.ibm.com>
Wed, 13 Aug 2025 20:49:00 +0000 (21:49 +0100)
commitc9d3f76b4719ecf602f01f58a0e1a7a577a80949
treea14be608be2f6c61e243c51ab5f7551af5dc4d70
parenta5c575711f765b60e4046d1fd0a0dc43f28628ef
erasure-code: use cauchy if K and M values are not supported by ISA-L reed_sol_van

ISA-L supports a limited set of K and M values when using a vandermonde matrix. There are no such limitations when using a cauchy matrix. If the user specifies reed_sol_van (or does not specify a technique and relies on the default reed_sol_van setting) and an unsupported K/M combination, then we will automatically switch the technique for the new EC profile to cauchy. Benchmarking has not shown any noticeable performance differences between ISA-L in reed_sol_van vs cauchy modes.

Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
src/erasure-code/isa/ErasureCodeIsa.cc