]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ec: drop stubs of {encode,decode}_chunks() from ErasureCode.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 3 Jul 2020 13:18:06 +0000 (15:18 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 3 Jul 2020 13:41:54 +0000 (15:41 +0200)
commit87dbdbb92fd61398a007ec2782dcfef83bbacb68
treec3a2d3e41b15626e01061bfefafa381279b0d919
parentffaf709cad9bf7a8a45bbcdc53b47da0ec74262a
ec: drop stubs of {encode,decode}_chunks() from ErasureCode.

`decode_chunks()` was needed only because of the ec unit testing.
Move its implementation there.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/erasure-code/ErasureCode.cc
src/erasure-code/ErasureCode.h
src/test/erasure-code/TestErasureCode.cc