]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: restore jerasure BlaumRoth default w 2556/head
authorLoic Dachary <loic-201408@dachary.org>
Tue, 23 Sep 2014 09:11:59 +0000 (11:11 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Tue, 23 Sep 2014 09:42:47 +0000 (11:42 +0200)
commitf51d21b53d26d4f27c950cb1ba3f989e713ab325
tree04512b76119d878662e177be54381f98a3723819
parent86bdd044e4084f2086b5c973c45f2dbebbca8e6a
erasure-code: restore jerasure BlaumRoth default w

Changing from W=7 to W=6 by default for the BlaumRoth technique is
correct but introduces a regression. The content that was encoded with
the previous version cannot be read again. Although the prime(w+1)
constraint was not obeyed by W=7, the encoded content was useable and
should keep being readable.

The W=7 remains the default for backward compatibility and an exception
to the prime(w+1) check.

http://tracker.ceph.com/issues/9572 Fixes: #9572

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