Patent ID: 7844584

Claim:
A method for persistently storing lock state information associated with a file system comprising: receiving, at any node in a cluster, an operation configured to modify lock state information of the file system, the lock state information associated with at least one lock enabled by a client, the lock preventing modification of a file by another client in the cluster while the lock is in place; generating an entry within a non-volatile log, the entry representative of a modified lock state information; storing the modified lock state information within the non-volatile log entry, the non-volatile log stored within a non-volatile random access memory; and updating, during a consistency point associated with the file system, a lock file stored on a persistent storage device with the modified lock state information of the non-volatile log entry, the persistent storage of the modified lock state information eliminating the need to reestablish the lock on a file after an error condition has occurred, wherein updating the lock file with the modified lock state information of the non-volatile log entry further comprises concatenating, on an owner basis, one or more non-volatile log entries to generate new entries for the lock file.