发明申请
- 专利标题: Hybrid Locking Using Network and On-Disk Based Schemes
- 专利标题(中): 使用网络和基于磁盘的方案的混合锁定
-
申请号: US12565521申请日: 2009-09-23
-
公开(公告)号: US20100017409A1公开(公告)日: 2010-01-21
- 发明人: Mayank RAWAT , Jinyuan LI , Murali VILAYANNUR , Daniel J. SCALES
- 申请人: Mayank RAWAT , Jinyuan LI , Murali VILAYANNUR , Daniel J. SCALES
- 申请人地址: US CA Palo Alto
- 专利权人: VMWARE, INC.
- 当前专利权人: VMWARE, INC.
- 当前专利权人地址: US CA Palo Alto
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A method of acquiring a lock by a node, on a shared resource in a system of a plurality of interconnected nodes, is disclosed. Each node that competes for a lock on the shared resource maintains a list of locks currently owned by the node. A lock metadata is maintained on a shared storage that is accessible to all nodes that may compete for locks on shared resources. A heartbeat region is maintained on a shared resource corresponding to each node so nodes can register their liveness. A lock state is maintained in the lock metadata in the shared storage. A lock state may indicate lock held exclusively, lock free or lock in managed mode. If the lock is held in the managed mode, the ownership of the lock can be transferred to another node without a use of a mutual exclusion primitive such as the SCSI reservation.
公开/授权文献
- US08543781B2 Hybrid locking using network and on-disk based schemes 公开/授权日:2013-09-24
信息查询