Hi David, You presumably want to load a plugin, similar to what
https://github.com/ceph/ceph/blob/firefly/src/mon/OSDMonitor.cc#L3040
does. To use it the high level is to be found in
https://github.com/ceph/ceph/blob/master/src/osd/ECBackend.cc#L361
which relies on a thin layer of utilities
https://github.com/ceph/ceph/blob/master/src/osd/ECUtil.cc
That creates convenience functions that you may or may not need. All plugins
implement the API:
https://github.com/ceph/ceph/blob/master/src/erasure-code/ErasureCodeInterface.h
and you may not need more than that.
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
signature.asc
Description: OpenPGP digital signature
