摘要: rgw支持使用uid、access key和email来标记一个User,这些数据最终都会保存在default.rgw.meta数据池中。我们通过librados中的接口来读出用户数据,并解析成 RGWUserInfo,以此来熟悉librados接口,为后续rgw开发工作做准备(熟悉代码啊)~ 分析 阅读全文
posted @ 2022-08-04 20:36 liutimo 阅读(142) 评论(1) 推荐(0) 编辑
摘要: cmake 篇 指定Generator 生成Makefile, -G "Unix Makefiles" 指定debug输入参数 稍微有点离谱,就是每一个arg都要严格分开写,而且不能有多余的空格~ Remote-ssh篇 设置代理 Host CPL ProxyCommand nc -X connec 阅读全文
posted @ 2022-08-03 15:10 liutimo 阅读(30) 评论(0) 推荐(0) 编辑
摘要: MSG模块源码分析—NetworkStack 以mon为例,在ceph_mon.cc的main函数中: // bind int rank = monmap.get_rank(g_conf()->name.get_id()); std::string public_msgr_type = g_conf 阅读全文
posted @ 2022-07-07 17:11 liutimo 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 安装samba sudo apt install samba 编辑配置文件。 sudo vim /etc/samba/smb.conf 在末尾加入: [liuzheng] #smb 用户 path = /media/liutimo/ext41 #共享路径 available = yes writea 阅读全文
posted @ 2021-04-12 20:26 liutimo 阅读(845) 评论(0) 推荐(0) 编辑
摘要: 1. Typora 偏好设置 ⇒ 图像: 选择插入图片对应的Action为上传服务 上传服务选择PicGo-Core 点击下载或更新 2. PicGo-Core插件下载和配置文件 下载 插件 cd ~/.config/Typora/picgo/linux/ ./picgo install gitee 阅读全文
posted @ 2021-01-16 18:47 liutimo 阅读(143) 评论(0) 推荐(0) 编辑