摘要
本文介绍了在一个分布式文件系统——3DFS中共享目录和数据文件一致性的控制机构的设计。对共享目录的互斥更改采用令牌控制方式,而对数据文件一致性控制采用主副本上锁方法。本文还讨论了主副本上锁时死锁问题的解决方法——死锁预测避免法。
In this paper, a consistency control mechanism of the shared directories and shared files in. a distributed file system——3DFS is proposed. As to shared directories, 'token'is used to con rol their exclusive update. As to shared files, 'master copy lockiag' is chosen to keep them consistent. A algorithm avoiding deadlock of 'master copy loking' is also discussed.