摘要 |
A system and method for enabling flash memory systems to support flash devices with pages that are larger than operating system data sector sizes, while not violating the device's specifications, and also optimizing performance. According to the present invention, the writing logic of a flash memory system must take into account the PPP limitations and page size of the device during sector write operations. The PPP influences the decision when to simply write the new data, and when to allocate a new page and copy previously existing data to the new page. According to the present invention, when a page contains more than one sector, the software makes the standard translation into physical address, but after finding the address, it examines the page containing that address, and counts the number of other sectors within the same page already containing data. Then a decision is taken whether to write the sector into the calculated physical address, or write the sector into a fresh page, while at the same time, optionally copying the existing neighboring sectors into this fresh page.
|