Skip to contentSkip to conversation

Erasure Code plugin system with an example : review request

DISCUSSION Loic Dachary 1 participant 1 message Aug 20, 2013

lore
Share & tools
lore
#0 lore raw

Hi Ceph,

Yesterday I implemented a simple erasure code plugin that can sustain the loss of a single chunk.

https://github.com/dachary/ceph/blob/wip-5878/src/osd/ErasureCodeExample.h

and it works as shown in the unit test

https://github.com/dachary/ceph/blob/wip-5878/src/test/osd/TestErasureCodeExample.cc

It would be of limited use in a production environment because it only saves 25% space ( M=2 K=1 ) over a 2 replica pool, but it would work.

I would very much appreciate a review of the erasure code plugin system and the associated example plugin :

https://github.com/ceph/ceph/pull/515

When it's good enough, creating a jerasure plugin will be next :-)

Cheers

Signature · 2 lines
Loïc Dachary, Artisan Logiciel Libre
All that is necessary for the triumph of evil is that good people do nothing.