[ Adding back the list. ] On Thu, Oct 17, 2013 at 3:37 PM, <paul_whitting...@mcafee.com> wrote: > Thanks Gregory, > > I assume the .so gets loaded into the process space of each OSD associated > with the object whose method is being called.
Yep; the .so is loaded on-demand wherever it's needed. > Does the .so remain loaded until the OSD is terminated? Yep. > Is there any protection from SIGSEGVs in the .so? I don't believe so — the .so is definitely trusted in general so you shouldn't be loading arbitrary code. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com > > Thanks! > > Paul Whittington > Chief Architect > > McAfee > 2325 West Broadway Street > Suite B > Idaho Falls, ID 83402 > > Direct: 208.552.8702 > Web: www.mcafee.com > > The information contained in this email message may be privileged, > confidential and protected from disclosure. If you are not the intended > recipient, any review, dissemination, distribution or copying is strictly > prohibited. If you have received this email message in error, please notify > the sender by reply email and delete the message and any attachments. > ________________________________________ > From: Gregory Farnum [g...@inktank.com] > Sent: Thursday, October 17, 2013 3:13 PM > To: Whittington, Paul > Cc: ceph-users@lists.ceph.com > Subject: Re: [ceph-users] (no subject) > > On Thu, Oct 17, 2013 at 12:40 PM, <paul_whitting...@mcafee.com> wrote: >> I'd like to experiment with the ceph class methods technology. I've looked >> at the cls_hello sample but I'm having trouble figuring out how to compile, >> like and install. Are there any step-by-step documents on how to compile, >> link and deploy the method .so files? > > Hrm. We haven't done much work to make building object classes > friendly yet — we build all ours directly in the Ceph tree. It's > probably easiest for you to do the same. > Installation just requires dropping the .so in the directory specified > by the "osd class dir" config option (defaults to > /var/lib/ceph/rados-classes, I think), and then the OSD will find and > load it when the first request for that class comes in. > -Greg > Software Engineer #42 @ http://inktank.com | http://ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com