Semantic response to lock requests to reduce coherence overhead in multi-node systems
First Claim
1. A method, the method comprising the steps of:
- a requester transmitting to a lock management system a request for a certain lock on a first resource;
said lock management system denying said request based on a blocking condition that, while in effect, said lock management system does not grant a request for a lock on a second resource different than said first resource;
said requester receiving from said lock management system a response that (1) denies said request for a certain lock on a first resource and (2) includes data that identifies the second resource; and
said requester determining said blocking condition is no longer in effect by performing certain steps that include;
said requester transmitting to said lock management system a request for a lock on said second resource; and
said requester receiving from said lock management system a response that grants said request for said lock on said second resource.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for lock management. The techniques are based on an enhanced lock management system that generates a semantic response in response to lock requests for a resource. The semantic response communicates both the underlying cause blocking the request, and information that may be used by the requester to obtain notification of when the underlying cause should no longer lead to denial of the lock request. The semantic response may be generated by the master of the resource, who provides the semantic response to the local lock manager of the lock requester. The semantic response may be retained by the local lock manager so that the semantic response can be provided to subsequent lock requesters, without need for interacting with another lock manager on another node.
67 Citations
14 Claims
-
1. A method, the method comprising the steps of:
-
a requester transmitting to a lock management system a request for a certain lock on a first resource; said lock management system denying said request based on a blocking condition that, while in effect, said lock management system does not grant a request for a lock on a second resource different than said first resource; said requester receiving from said lock management system a response that (1) denies said request for a certain lock on a first resource and (2) includes data that identifies the second resource; and said requester determining said blocking condition is no longer in effect by performing certain steps that include; said requester transmitting to said lock management system a request for a lock on said second resource; and said requester receiving from said lock management system a response that grants said request for said lock on said second resource. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable medium storing one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
a requester transmitting to a lock management system a request for a certain lock on a first resource; said lock management system denying said request based on a blocking condition that, while in effect, said lock management system does not grant a request for a lock on a second resource different than said first resource; said requester receiving from said lock management system a response that (1) denies said request for a certain lock on a first resource and (2) includes data that identifies the second resource; and said requester determining said blocking condition is no longer in effect by performing certain steps that include; said requester transmitting to said lock management system a request for a lock on said second resource; and said requester receiving from said lock management system a response that grants said request for said lock on said second resource. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification