All of lore.kernel.org
 help / color / mirror / Atom feed
* Review request : Erasure Code plugin loader implementation
@ 2013-08-18 16:19 Loic Dachary
  2013-08-18 17:34 ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Loic Dachary @ 2013-08-18 16:19 UTC (permalink / raw)
  To: Ceph Development

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

Hi Ceph,

I've implemented a draft of the Erasure Code plugin loader in the context of http://tracker.ceph.com/issues/5878. It has a trivial unit test and an example plugin. It would be great if someone could do a quick review. The general idea is that the erasure code pool calls something like:

ErasureCodePlugin::factory(&erasure_code, "example", parameters)

as shown at

https://github.com/ceph/ceph/blob/5a2b1d66ae17b78addc14fee68c73985412f3c8c/src/test/osd/TestErasureCode.cc#L28

to get an object implementing the interface

https://github.com/ceph/ceph/blob/5a2b1d66ae17b78addc14fee68c73985412f3c8c/src/osd/ErasureCodeInterface.h

which matches the proposal described at

https://github.com/dachary/ceph/blob/wip-4929/doc/dev/osd_internals/erasure-code.rst#erasure-code-library-abstract-api

The draft is at

https://github.com/ceph/ceph/commit/5a2b1d66ae17b78addc14fee68c73985412f3c8c

Thanks in advance :-)

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-20 11:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-18 16:19 Review request : Erasure Code plugin loader implementation Loic Dachary
2013-08-18 17:34 ` Sage Weil
2013-08-18 20:05   ` Loic Dachary
2013-08-19  0:01     ` Sage Weil
2013-08-19 15:06       ` Loic Dachary
2013-08-19 16:19         ` Sage Weil
2013-08-20 11:32         ` Loic Dachary
2013-08-19  0:24     ` Sage Weil
2013-08-19 13:27       ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.