Chinaunix

标题: 大家有人知道lustre文件锁功能吗? [打印本页]

作者: rlby    时间: 2009-08-10 20:26
标题: 大家有人知道lustre文件锁功能吗?
比如一个文件同时被多个程序读取,包括不同的client上的程序读取,写入。。。


这样是否会出错。。。。


我在做了测试之后,同时多程序写同一个文件不错出错。!!!

那请问,可是在翻了官方说明之后http://www.sun.com/software/products/lustre/features.xml
To reduce bottlenecks and increase overall data throughput, Lustre uses an intent-based locking mechanism, where file and directory lock requests also provide information about the reason the lock is being requested. For example, if a directory lock is being requested to create a new, unique file, Lustre handles this as a single request. In other file systems, this action requires multiple network requests for lookup, creation, opening and locking.

视乎在说锁不是对整个文件,而是节点。。。


那位兄弟有办法实现整个文件锁的呢?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2