]> git-server-git.apps.pok.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, 13 Apr 2020 17:24:05 +0000 (18:24 +0100)
commitb274357d29fb25a29f75c08283fec185902e7970
tree6a9f765bb7e3af7c018893664fb6b78cebbc3395
parentae1bb9d55db435058423640e54cb5253a276f13b
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>
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]