]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: cauchy techniques allow w 8,16,32
authorLoic Dachary <loic@dachary.org>
Tue, 27 May 2014 16:36:09 +0000 (18:36 +0200)
committerLoic Dachary <loic@dachary.org>
Mon, 4 Aug 2014 08:54:21 +0000 (10:54 +0200)
commit3987ac2a418870fb51411f21c98925518bf2cb01
tree5427d41ec8d92e40a5d3812a226d42881f5a1d70
parent3de7b7c52c50c94d9ff4a3aed930bba08b2abc58
erasure-code: cauchy techniques allow w 8,16,32

Enforce the restriction at initialization time, the same way it is done
for Reed Solomon. Choosing a w value different from 8,16,32 will lead to
memory corruption that cannot easily be traced to the cause.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/erasure-code/jerasure/ErasureCodeJerasure.cc