how to use rados_exec
Hi all!
long time no see!
I want to use the function rados_exec, and I found the class cls_crypto.cc in the code source of ceph;
so I run the funtion like this:
rados_exec(ioctx, "foo_object", "crypto" , "md5", buf, sizeof(buf),buf2, sizeof(buf2) )
ant the function return operation not support!
I check the source of ceph , and find that cls_crypto.cc is not build。how can I bulid the class and run it!
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
A message that is not in the archive (sent off-list or not yet received): 47c23d46.20e71.1424b8f1407.Coremail.wkp4666-KN7UnAbNpbg@public.gmane.org
The cls_crypto.cc file in src/ hasn't been included in the Ceph compilation for a long time. Take a look at src/cls/* for a list of modules that are compiled. In particular, there is a "Hello World" example that is nice. These should work for you out-of-the-box.
You could also try to compile cls_crypto.cc (follow the basic structure of src/cls/Makefile.am).
-Noah
Quoted 16 lines · On Tue, Nov 12, 2013 at 1:05 AM, 鹏 <[email protected]> wrote:
Hi all!
long time no see!
I want to use the functionrados_exec, and I found the class
cls_crypto.cc in the code source of ceph;
so I run the funtion like this:rados_exec(ioctx, "foo_object", "crypto" , "md5", buf,sizeof(buf),buf2, sizeof(buf2) )
ant the function return operation not support!
I check the source of ceph , and find that cls_crypto.cc is not
build。how can I bulid the class and run it!
Quoted 5 lines
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com