On Tue, May 27, 2014 at 7:44 PM, Plato <[email protected]> wrote:
> For certain security issue, I need to make sure the data finally saved to
> disk is encrypted.
> So, I'm trying to write a rados class, which would be triggered to reading
> and writing process.
> That is, before data is written, encrypting method of the class will be
> invoked; and then after data is readed, decrypting method of the class will
> be invoked.
>
> I checked the interfaces in objclass.h, and found that cls_link perhaps is
> what I need.
> However, the interface not implemented yet. So, how to write such a rados
> plugin? Is it possible.

There are a number of existing class plugins in the source tree. Look
at the different folders in ceph/src/cls (probably start with "hello"
as a simple example).
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to