×

System and method for persistently storing lock state information

  • US 7,844,584 B1
  • Filed: 06/23/2006
  • Issued: 11/30/2010
  • Est. Priority Date: 06/23/2006
  • Status: Active Grant
First Claim
Patent Images

1. 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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×