File system for a data storage device having a power fail recovery mechanism for write/replace operations
AssigneeLucent Technologies Inc.
InventorMichael W. Balk
Life of this patent
Estimating the term…
Loading patent…
AssigneeLucent Technologies Inc.
InventorMichael W. Balk
Estimating the term…
The present invention provides a method and apparatus in a data storage device of a data storage system under the control of a microprocessor for preventing a microprocessor stall upon the occurrence of a power failure during read/write operations. During normal operations, files are written to a first storage area of the data storage device where a first flag associated with each file is set when the writing of the respective file has successfully completed. Upon the occurrence of a power failure, a data storage device initialization routine is commenced upon reboot of the microprocessor. During initialization, an analysis phase is begun to generate sequences of events for at least those files not having the first flag set. The events comprise memory operations and associated data and are each re-executable upon interruption of its execution and before execution of another event without modifying results of a previous execution of the respective event. The events generated are then written to an event storage area in the data storage device. During an execution phase of the data storage device initialization, the events are retrieved and executed by the microprocessor to cause the files having at least the first flag set to be written in a compacted manner to storage locations in a second storage area of the memory device to maintain the integrity of those files. Subsequently, the first storage area of the memory device is erased to provide additional storage space for the writing of new files to the memory device. If a power failure or system failure occurs during the two-phase initialization process, the process is re-started generally at the point where it was interrupted so as not to leave the data storage device in a partially compacted, and hence, a potentially inconsistent state.
In a data storage device under control of microprocessor and having storage locations for storing files written to the data storage device, a method is provided for preventing a microprocessor stall during reboot of the microprocessor and initialization of the data storage device, the method comprising the steps:
In a data storage device under control of microprocessor and having storage locations for storing files written to the data storage device, a method is provided for preventing a microprocessor stall during reboot of the microprocessor and initialization of the data storage device, the method comprising the steps:
In a data storage system comprising a microprocessor for controlling access to a data storage device, the data storage device having storage locations for contiguously storing files written to the data storage device, a method is provided for ensuring the integrity of files written to the data storage device upon the occurrence of a failure comprising one of a power failure and a system failure in the data storage system, the method comprising the steps of:
Dependencies are inferred from the claim text.