发明授权
- 专利标题: Efficiently initiating lock state transitions for distributed resource objects that participate in a distributed lock management system
- 专利标题(中): 有效地启动参与分布式锁管理系统的分布式资源对象的锁状态转换
-
申请号: US09798610申请日: 2001-03-01
-
公开(公告)号: US06708198B1公开(公告)日: 2004-03-16
- 发明人: Charles Simmons , Madhusudan Krishnapuram , Hans Karten
- 申请人: Charles Simmons , Madhusudan Krishnapuram , Hans Karten
- 主分类号: G06F900
- IPC分类号: G06F900
摘要:
A system for managing locks that give permission to access resources in a computer system is disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. The master resource object includes a convert queue used to maintain a list of convert requests made by various processes. The lock request for shadow resource objects are granted when the lock request is at the head of the convert queue. When granting the second lock request, other lock requests in the queue from shadow resource objects are granted if they are compatible with the locks granted by the master resource object.
信息查询