On Wed, May 4, 2011 at 7:22 AM, tsk <aixt2006@xxxxxxxxx> wrote: > 2011/5/4 Wido den Hollander <wido@xxxxxxxxx>: >> Hi, >> >> On Wed, 2011-05-04 at 20:36 +0800, tsk wrote: >>> Hi folks, >>> >>> Is there any document for libceph, librbd and librados, and where >>> could I get some example for them? >> >> What kind of examples are you looking for? In the Ceph git repository >> there is: >> >> * rados.cc (The rados tool) >> * testradospp.cpp >> * testrbdpp.cpp > > Thx! > I have run over these test code yet, I think they are useful for me. > > Hmm, Is there any simple application example for these library? As Wido commented, testrados.c, client/testceph.c, and testlibrbd.c are simple examples. All of these are built as standalone applications and they are pretty simple. Hope this helps. Colin -- 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