]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-erasure-code-tool: new tool to encode/decode files
authorMykola Golub <mgolub@suse.com>
Fri, 20 Mar 2020 16:19:25 +0000 (16:19 +0000)
committerMykola Golub <mgolub@suse.com>
Mon, 4 Oct 2021 08:16:53 +0000 (11:16 +0300)
commit008bf886602c090fda353c114ac70611b95799bd
treeb314d8026190e22b6da46f5d1b4662a157b0be7f
parent5cf037b543c1ce56dd30971edda32e1c42e42a55
ceph-erasure-code-tool: new tool to encode/decode files

E.g. it may be useful as a last resort when recovering an object from
a damaged PG: extract the encoded object chunks from the PG shards
with ceph-objectstore-tool and then decode with ceph-erasure-code-tool.

It also has functionality similar to what ceph_erasure_code test provides.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit b274357d29fb25a29f75c08283fec185902e7970)
src/test/ceph-erasure-code-tool/test_ceph-erasure-code-tool.sh [new file with mode: 0755]
src/tools/CMakeLists.txt
src/tools/erasure-code/CMakeLists.txt [new file with mode: 0644]
src/tools/erasure-code/ceph-erasure-code-tool.cc [new file with mode: 0644]