Using erasure code plugins outside of an OSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux