IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
ceph主要数据结构解析2-Rados.h文件
wanweiaiaqiang
发表于
2013-08-15 23:20:56
love
0
(1)文件系统id结构:16个字符组成 struct ceph_fsid { unsigned char fsid[16]; }; 以及对应的比较函数: static inline int ceph_fsid_compare(const struct ceph_fsid *a, const struct ceph_fsid *b) { return memcmp(a, b