|
Hi all;
today, I want to use the fuction of ceph_open_layout() in libcephFs.h
I creat a new pool success,
# rados mkpool data1
and then I edit the code like this:
int fd = ceph_open_layout( cmount, c_path, O_RDONLY|O_CREAT, 0666. (1<<22), 1,
(1<<22) , "data1")
and then the fd is -22!!!!!!!!!
when I use the data pool , it can success
int fd = ceph_open_layout( cmount, c_path, O_RDONLY|O_CREAT, 0666. (1<<22), 1,
(1<<22) , "data")
the ceph_open_layout support read/write to a new pool???
thinks you for the help!
yous !
|
|
| | |
|_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com