mirror of
https://github.com/ceph/ceph
synced 2024-12-21 02:42:48 +00:00
e80b084f91
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> |
||
---|---|---|
.. | ||
source | ||
.gitignore | ||
ceph-common.install | ||
ceph-fs-common.install | ||
ceph-fuse.install | ||
ceph-mds.install | ||
ceph-mds.postinst | ||
ceph-mds.prerm | ||
ceph-resource-agents.install | ||
ceph-test.install | ||
ceph.dirs | ||
ceph.docs | ||
ceph.install | ||
ceph.lintian-overrides | ||
ceph.postinst | ||
ceph.postrm | ||
ceph.prerm | ||
changelog | ||
compat | ||
control | ||
copyright | ||
libcephfs1.install | ||
libcephfs-dev.install | ||
libcephfs-java.jlibs | ||
libcephfs-jni.install | ||
librados2.install | ||
librados-dev.install | ||
librbd1.install | ||
librbd-dev.install | ||
python-ceph.install | ||
radosgw.dirs | ||
radosgw.install | ||
radosgw.postinst | ||
radosgw.prerm | ||
rbd-fuse.install | ||
rest-bench.install | ||
rules | ||
watch |