]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: Backward compatibility with legacy EC plugins
authorBassam Tabbara <bassam.tabbara@quantum.com>
Wed, 21 Sep 2016 14:00:01 +0000 (07:00 -0700)
committerBassam Tabbara <bassam.tabbara@quantum.com>
Thu, 29 Sep 2016 17:34:34 +0000 (10:34 -0700)
commite7e0b1bc1e159e35b151eeb9d5cc64bc57cd1b76
treefd4f6d8be70f1470694b570abac0381639319974
parent2e333bdbc4a8119391124e52a2fb4931aef8e479
erasure-code: Backward compatibility with legacy EC plugins

Resurrected jerasure_generic, jerasure_sse3, jerasure_sse4, jerasure_neon,
shec_generic, shec_sse3, shec_sse4 and shec_neon. These all are exact
copies of the new jerasure and shec plugins that support SIMD detection.

Moved EC preload code in ceph-mon and ceph-osd to a central location, added
warning when preloading legacy plugins.

OSMonitor::get_erasure_code and OSDMonitor:normalize_profile will now check
if legacy EC plugins are used and log a warning.

Added tests to check that warnings make it to the log.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
12 files changed:
cmake/modules/SIMDExt.cmake
src/ceph_mon.cc
src/ceph_osd.cc
src/erasure-code/CMakeLists.txt
src/erasure-code/jerasure/CMakeLists.txt
src/erasure-code/shec/CMakeLists.txt
src/global/global_init.cc
src/global/global_init.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/test/erasure-code/CMakeLists.txt
src/test/erasure-code/test-erasure-code-plugins.sh [new file with mode: 0755]