Hello,

I found the document of ceph class usage is very few, below is the
only one which can almost address my needs--
http://ceph.com/rados/dynamic-object-interfaces-with-lua/

But still some questions confusing me left there:

1. How to make the OSD to load the class lib? or what's the process
for an OSD deamon to load a customized class lib?
I checked my OSD log file(/var/log/ceph/ceph-osd.2.log), I can't find
the log message "loading cls_hello", does that mean the "hello" class
lib hasn't been loaded by the osd deamon yet? But I can see the
'libcls_hello.so' is really under /usr/lib64/rados-classes folder of
that OSD.

2. Suppose I have an object named "testobj" stored into OSD0 and OSD1,
what will happen if I call the rados_exec(..., "testobj", "hello",
"say_hello",...) in client side? Will the say_hello() function be
called twice in OSD0 and OSD1 respectively?

-- 
Den
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to