Patent ID: 7809828

Claim:
A computer implemented method for maintaining state consistency among multiple state-driven file system entities in a consistency management framework, the computer implemented method comprising: responsive to a distributed file system server being disconnected from a distributed file system client, registering, by a consistency manager, a monitor with the consistency management framework for a file system, wherein the monitor monitors the file system to identify state changes of files while the distributed file system server is disconnected from the distributed file system client; responsive to the consistency manager detecting access to a file in the file system, notifying the monitor of the access to the file to cause the monitor to store information about a state of the file in a state matrix within a memory of the monitor, wherein the monitor determines if the file being accessed has an active state, determines if a type of the access will invalidate the active state if the file has an active state, and records that the active state is no longer valid in the state matrix if the type of the access invalidates the active state; and responsive to the distributed file system server being reconnected to the distributed file system client, providing the information about the state of the file stored in the state matrix of the monitor to the distributed file system client, wherein the information is provided as a response to a reclamation request from the distributed file system client for rights to the file, and wherein the reclamation request is granted if the information about the state of the file stored in the state matrix of the monitor is consistent with a state of the file stored in a state matrix within a memory of the distributed file system server.