]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: factor generic create_rule into parent ErasureCode
authorSage Weil <sage@redhat.com>
Fri, 30 Jun 2017 19:50:07 +0000 (15:50 -0400)
committerSage Weil <sage@redhat.com>
Thu, 6 Jul 2017 19:01:03 +0000 (15:01 -0400)
commita85f3206b533de311bfb891efab26c5f9c7824d6
tree3881ed79d5dec258fdbbf6ee2acaa73c816fab83
parentdc7a2aaf7a34b1e6af0c7b79dc44a69974c1da23
erasure-code: factor generic create_rule into parent ErasureCode

These 3 implementations are all identical.  Move the rest of init() to
into the parent since these all behave the same.

Signed-off-by: Sage Weil <sage@redhat.com>
src/erasure-code/ErasureCode.cc
src/erasure-code/ErasureCode.h
src/erasure-code/isa/ErasureCodeIsa.cc
src/erasure-code/isa/ErasureCodeIsa.h
src/erasure-code/jerasure/ErasureCodeJerasure.cc
src/erasure-code/jerasure/ErasureCodeJerasure.h
src/erasure-code/shec/ErasureCodeShec.cc
src/erasure-code/shec/ErasureCodeShec.h