×

Two-level management of locks on shared resources

  • US 9,940,346 B2
  • Filed: 07/23/2014
  • Issued: 04/10/2018
  • Est. Priority Date: 10/11/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing locks on shared resources in a distributed computer system comprising:

  • receiving at a first primary node a first local lock state from a first secondary node of a plurality of secondary nodes, wherein the first local lock state comprises a lock request for access to a shared resource, a requested lock mode, and merged state information identifying a current state of a plurality of different locks for shared resources held by a plurality of tasks on the first secondary node and indicating a group lock mode representing a combined lock mode for the plurality of tasks on the first secondary node holding the plurality of different locks on the shared resources, wherein the group lock mode is generated by comparing different lock modes held by the plurality of tasks and identifying a lock mode with a corresponding set of compatible lock modes including each of the different lock modes held by the plurality of tasks;

    granting the lock request at the first primary node in response to an absence of conflicts;

    generating at the first primary node a first global lock state in response to the first local lock state; and

    communicating the first global lock state from the first primary node to the first secondary node.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×