Discipline for lock reassertion in a distributed file system
Abstract
A method and system for asserting a lock in a distributed file system is provided. All distributed locks have a lease for a limited time period, wherein the lease may be renewed periodically. A lock manager data structure is provided to maintain mode compatibility of locks granted to different client nodes for the same object. The process of acquiring or reasserting a lock includes determining whether there are other valid locks in use, as well as whether a valid lock is in operation in a conflicting or compatible mode with a requested lock. A new lock lease may be granted and a lock lease which has expired may be reasserted if a conflicting lease is not present.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 32.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented method for reasserting a lock in a distributed file system comprising: creating a lock manager data structure in volatile memory for an object assigned a distributed lock; and assigning an identifying number to a file system in which said object is located, said file system identifying number adapted to be incremented upon a restart of a server assigned to said file system; comparing a file system identifying number provided by a client requesting a lock on said system object with a current file system identifying number in which said object is located; and granting a lo
- Claim 2Depends on #1
The method of claim 1 , further comprising restoring cache consistency between
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗