Skip to contentSkip to conversation

Using erasure code plugins outside of an OSD

DISCUSSION Loic Dachary 1 participant 1 message Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre