发明名称 File system for a data storage device having a power fail recovery mechanism for write/replace operations
摘要 A data storage device of a data storage system is 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 initialisation routine is commenced upon re-boot of the microprocessor. During initialisation, an analysis phase is begun to generate sequences of events for 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 initialisation, 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 initialisation process, the process is re-started 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 f the method comprising the steps:.
申请公布号 EP0745934(A3) 申请公布日期 1999.02.24
申请号 EP19960303617 申请日期 1996.05.21
申请人 AT&T CORP. 发明人 BALK, MICHAEL W.
分类号 G06F12/00;G06F11/14 主分类号 G06F12/00
代理机构 代理人
主权项
地址