大家有人知道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.
视乎在说锁不是对整个文件,而是节点。。。
那位兄弟有办法实现整个文件锁的呢?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论