主权项 |
1. A method comprising:
tracking, by a processing device, lock requests for a resource shared by a plurality of nodes of a cluster file system, wherein each node of the cluster file system has a local queue, and wherein the respective local queues of each node track lock requests for the resource; maintaining, by the processing device, a plurality of request queue lengths for the local queues of the nodes; determining, by the processing device, a measure of congestion for the resource, wherein the measure of congestion is in view of the plurality of request queue lengths; and adjusting, by the processing device, a relative lock hold time for a first node of the cluster file system in view of the measure of congestion. |