网2112 发表于 2016-10-8 08:16:54

GlusterFS强制锁

语法格式:

1
gluster volume set <VOLNAME> locks.mandatory-locking <off / file / forced / optimal>




注:
off - 为指定的卷禁用强制锁
file - 启用Linux内核风格的强制锁语义和位模式的帮助(没有充分测试)
forced - 为卷检查字节范围锁定每个数据编辑操作
optimal - Combinational mode where POSIX clients can live with their advisory lock semantics which will still honour the mandatory locks acquired by other clients like SMB.
参阅文档
http://gluster.readthedocs.io/en/latest/Administrator%20Guide/Mandatory%20Locks/
https://github.com/gluster/glusterfs-specs/blob/master/done/GlusterFS%203.8/Mandatory%20Locks.md


页: [1]
查看完整版本: GlusterFS强制锁