获得源码:
> git clone git://github.com/gluster/glusterfs.git
.
|-- argp-standalone
命令行参数解析器(Argument Parser)
|-- cli
gluster命令行(Command Line Interface)
|-- contrib
| |-- fuse-include
| |-- fuse-lib
| |-- fuse-util
用户空间文件系统(Filesystem in Userspace,简称FUSE)
| |-- ipaddr-py
ip地址验证工具
| |-- libgen
包含经过改写的dirname/basename命令,用于适配NetBSD系统
| |-- macfuse
fuse for Mac
| |-- rbtree
红黑树-数据结构(red-black tree)
| `-- uuid
通用唯一识别码(Universally Unique Identifier,简称UUID)
|-- doc
man文件
user-guide.pdf
卷配置文件.vol范例
|-- extras
性能测量
测试
OS相关的一些配置
|-- glusterfsd
glusterfs daemon
|-- libglusterfs
glusterfs库-核心代码
|-- rpc
| |-- rpc-lib
| |-- rpc-transport
| `-- xdr
远程过程调用机制
|-- swift
对象存储相关的
`-- xlators
|-- bindings
| `-- python
使得可以使用python写xlator
|-- cluster
| |-- afr
Automatic File Replication
副本机制
| |-- dht
Distributed Hash Table
使得很多分布式卷看起来是一个卷
也可以反过来说,将一个卷中的文件分散到很多分布式卷中
| |-- stripe
将一个文件分割成N份,存在N个地方
|-- debug
| |-- error-gen
生成错误的xlator,方便调试
| |-- io-stats
IO负载的相关信息
| `-- trace
打印各种调用信息
|-- encryption
| `-- rot-13
极简单的加密,就是将每个字符加13,仅仅是玩具。
|-- features
| |-- filter
| |-- index
| |-- locks
| |-- mac-compat
| |-- marker
| |-- path-convertor
| |-- quiesce
| |-- quota
设置磁盘/文件夹配额
| |-- read-only
让文件系统只读
| `-- trash
提供类似windows垃圾箱的功能
|-- lib
| `-- src
|-- meta
| `-- src
|-- mgmt
| `-- glusterd
|-- mount
| `-- fuse
|-- nfs
| `-- server
|-- performance 提高性能的一些特性
| |-- io-cache
| |-- io-threads
| |-- md-cache
| |-- quick-read
| |-- read-ahead
| |-- symlink-cache
| `-- write-behind
|-- protocol
| |-- auth
| |-- client
使得client可以访问远端的xlators
| `-- server
使得server可以让远端访问本地的xlators
|-- storage
`-- system
`-- posix-acl