加载中
RedLock

Redlock实现 假设有N个Redis master。这些节点完全互相独立,不存在主从复制或者其他集群协调机制。我们确保将在N个实例上使用与在Redis单实例下相同方法获取和释放锁。现在我们假设有5个Red...

2019/04/17 11:21
210
rbd.ko

代码路径 drivers/block/rbd.c 入口 rbd_init() rbd_slab_init() -> kmem_cache_create() 创建Slab缓存 rbd_sysfs_init() -> device_register() -> bus_register() 会通过宏BUS_ATTR(add, S...

2018/10/24 19:05
340
valgrind

valgrind --track-fds=yes --leak-check=full --undef-value-errors=yes ./a.out

2018/07/11 14:59
230
日志文件系统是怎样工作的

文件系统要解决的一个关键问题是怎样防止掉电或系统崩溃造成数据损坏,在此类意外事件中,导致文件系统损坏的根本原因在于写文件不是原子操作,因为写文件涉及的不仅仅是用户数据,还涉及元数...

2018/06/05 11:08
153
使用Automake 创建和使用静态库

使用Automake 创建和使用静态库 1. 目录结构如下: example |——src 目录(存放源代码文件) |——hello.c |——lib 目录(存放用来生成库的文件) |——test.c 用来生成静...

2018/05/05 17:36
1.4K
tgt conf说明

# This is a sample config file for tgt-admin. # The files ending with '.conf' in this directory will be included. # # The "#" symbol disables the processing of a line. # 一个lun...

tgt
2018/03/22 12:10
621
glusterfs--volume管理(转)

Q: 常用的命令有哪些? 创建volume: gluster volume create NAME stripe SCOUNT replica RCOUNT transport TYPE BRICKLIST NAME为volume的名字;SCOUNT,RCOUNT分别为stripe,replica的个数;t...

2017/12/29 11:16
199

没有更多内容

加载失败,请刷新页面

返回顶部
顶部