- 论坛徽章:
- 0
|
比如一个文件同时被多个程序读取,包括不同的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.
视乎在说锁不是对整个文件,而是节点。。。
那位兄弟有办法实现整个文件锁的呢? |
|