Re: Article about Object Store API

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

 



Hello, marcel,

Below is the email sent to the ceph-users mail list regarding ceph
class question, but seems it's in pending state since I am not the
member of that list.
>>
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?

On Thu, Jan 29, 2015 at 4:14 PM, Dennis Chen <kernel.org.gnu@xxxxxxxxx> wrote:
> Hello marcel,
>
> Very good article though I am still reading it. Do you have a clear
> picture of the relationship between class and
> librados API - rados_exec()?
>
> On Wed, Jan 28, 2015 at 4:48 AM, Marcel Lauhoff <ml@xxxxxxxx> wrote:
>>
>> Hi,
>>
>> I wrote an article about the object store API - How it works and looks
>> like with a focus on how to add something new.
>>
>> http://irq0.org/articles/ceph/objectstore
>>
>> Maybe its useful for somebody.. Feedback is greatly appreciated!
>>
>>
>>
>> [ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph
>> and will probably write something more about other parts of Ceph
>> crossing my way in the near future :) ]
>>
>>
>> ~marcel
>>
>>
>> --
>> Marcel Lauhoff
>> Mail/XMPP: ml@xxxxxxxx
>> http://irq0.org
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Den



-- 
Den
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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