Patent ID: 7340647
Filing Date: 2008-03-04
Classification: G06F,Y02D,Y10S

Abstract:
1. In a computer having a flash medium, a method for ensuring data integrity in a flash medium, comprising: organizing a flash memory medium as if memory locations of the flash memory form a continuous circle, wherein the lowest and highest memory locations are contiguous; maintaining a write pointer to indicate a memory location that is free to receive new data, the write pointer configured to advance through the continuous circle of memory locations as data is written to the flash memory medium; storing meta-information in each memory location indicated by the write pointer at completion of a write operation to the memory location indicated by the write pointer; searching the memory location indicated by the write pointer when the file system is initialized to ascertain whether the meta-information exists in the memory location; concluding that a power-failure event occurred, if the meta-information is not found in the memory location; and marking the memory location indicated by the write pointer dirty if a power-failure event is concluded.