ceph/debian
Loic Dachary e80b084f91 erasure-code: add ceph_erasure_code debug command
It loads a designated erasure-code plugin and calls its
methods. It is convenient to figure out and tune the number of data
chunks, the size of an aligned chunk etc. For instance:

ceph_erasure_code \
      --parameter erasure-code-plugin=jerasure \
      --parameter erasure-code-directory=.libs \
      --parameter erasure-code-technique=reed_sol_van \
      --parameter erasure-code-k=2 \
      --parameter erasure-code-m=2 \
      --all

displays the chunk size when encoding an object of 1024 bytes.

get_chunk_size(1024)	512
get_data_chunk_count	2
get_chunk_count	4

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-02-04 15:58:19 +01:00
..
source
.gitignore
ceph-common.install ceph-crush-location: new crush location hook 2013-10-29 14:00:03 -07:00
ceph-fs-common.install
ceph-fuse.install
ceph-mds.install
ceph-mds.postinst
ceph-mds.prerm
ceph-resource-agents.install
ceph-test.install erasure-code: add ceph_erasure_code debug command 2014-02-04 15:58:19 +01:00
ceph.dirs
ceph.docs
ceph.install packaging: erasure-code plugins go in /usr/lib/ceph 2013-12-22 23:11:02 +01:00
ceph.lintian-overrides
ceph.postinst
ceph.postrm
ceph.prerm
changelog v0.76 2014-02-03 18:26:25 +00:00
compat
control packaging: make check needs argparse and uuidgen 2013-12-27 06:14:02 +01:00
copyright Merge pull request #638 from ceph/wip-bloom 2013-10-03 12:13:41 -07:00
libcephfs1.install
libcephfs-dev.install
libcephfs-java.jlibs
libcephfs-jni.install
librados2.install
librados-dev.install libc++: use ceph::shared_ptr in installed header 2014-01-18 14:03:54 -08:00
librbd1.install
librbd-dev.install
python-ceph.install
radosgw.dirs radosgw: create /var/log/radosgw in package, not init script 2013-10-16 16:16:16 -07:00
radosgw.install
radosgw.postinst
radosgw.prerm
rbd-fuse.install
rest-bench.install
rules Revert "Enable libs3 support for debian packages" 2013-12-20 13:14:08 -08:00
watch