HomeClusterLabs Projects

Make the bzip2 compress plugin a proper module

Description

Make the bzip2 compress plugin a proper module

Our current practice of dlopening foreign shared libraries is problematic
for several reasons:

  • not portable: modules and shared libraries can be different object types
  • dependency information is invisible (our canaries mostly solve this)
  • hardwiring SONAMES breaks on transitions (KNET_PKG_SONAME solves this)
  • symbol versioning information is lost (theoretically solvable)

The preferred way out is generating dynamically loaded private modules
from the main source, which then rely on the dynamic linker to load the
external symbols as usual.

Details

Provenance
wferiAuthored on Nov 27 2017, 4:35 PM
Parents
rKb05cf66006f7: Separate compress_model_t definition into a new header file
Branches
Unknown
Tags
Unknown

Event Timeline