Patent ID: 7490096
Filing Date: 2009-02-10
Classification: G06F,Y10S

Abstract:
1. A method for testing an intent log for a file system, comprising: creating a first file system; issuing a command to freeze the first file system, wherein freezing the first file system stops commitment of deltas to the first file system, wherein deltas correspond to changes made to the metadata associated with the first file system; performing a plurality of commands on the first file system to obtain a plurality of deltas, wherein each of the plurality of deltas is stored in the intent log and is not committed to the first file system; copying the first file system to obtain a second file system; committing each of the plurality of deltas in the intent log to the second file system; unfreezing the first file system and subsequently committing each of the deltas in the intent log to the first file system, wherein unfreezing the first file system comprises unmounting the first file system and wherein the first file system is remounted prior to committing each of the deltas in the intent log to the first system; and comparing the first file system, after committing each of the deltas in the intent log, to the second file system to determine whether the intent log is valid.