大家有人知道lustre文件锁功能吗?

发布于 2022-08-14 05:14:31 字数 839 浏览 17 评论 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.

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文