发光的石头 发表于 2015-3-2 12:45:23

GlusterFS 源代码分解动作

访问控制(客户端)在transport层做 加解密(服务器)的密钥要往下传,怎么传?还是直接就把模块加在transport层? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~分界线~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int main(){ 987         set_global_ctx_ptr(ctx);            //将ctx设为全局的环境变量 991               /* parsing command linearguments */ 1017         ctx->iobuf_pool = iobuf_pool_new (8* 1048576, ctx->page_size + 4096);1018         ctx->event_pool = event_pool_new(DEFAULT_EVENT_POOL_SIZE); 1054         /* initializing logs */ 1088         /* setting up environment*/ 1109         /* getting and parsing volume file */if ((specfp = _get_specfp (ctx)) == NULL)         //打开vol文件 if ((graph = _parse_specfp (ctx, specfp))== NULL)          àtree = file_to_xlator_tree (ctx, specfp); //里面调用yyparse(),用yacc来解析得到xlator_t树 while (trav){   //遍历该树dict_get (trav->options,         //选项录入字典} 1148      if((graph = _add_fuse_mount (graph)) == NULL) {调用à217   if (xlator_set_type (top, ZR_XLATOR_FUSE)== -1) {   //打开各个动态链接库调用à648   fill_defaults (xl);    //设置该xlator下,各个默认文件操作函数指针的值 1158         /* daemonize now */ 1181         gf_timer_registry_init (ctx);

BaoLin8 发表于 2015-11-28 22:32:25

这个好东西!

catking 发表于 2016-6-20 02:52:52

感谢楼主分享!!|谢谢分享

永远的梅西 发表于 2018-8-14 00:31:07

不错,支持支持。。。

qin梅 发表于 2020-11-9 22:40:58

好东东,谢谢老大分享!

jianwu2015 发表于 2020-11-17 22:20:47

这个不错,感谢分享啦

jianwu2015 发表于 2020-11-21 21:07:41

这个不错,感谢分享啦

whhh 发表于 2020-11-22 22:16:48

楼主威武,谢谢分享

werewolf2046 发表于 2020-11-23 23:43:03

感谢楼主分享!

slaixf0312 发表于 2020-11-23 23:45:07

感谢楼主分享!
页: [1]
查看完整版本: GlusterFS 源代码分解动作