Patent ID: 8370562

Claim:
A method of storing data in a memory device that includes a flash memory, the method comprising: storing the data in a cache block, wherein a part of the flash memory is used as the cache block; selecting a portion of the data for copying to a write block of the flash memory that is separate from the cache block; copying a first subportion of a plurality of subportions of the selected portion of the data from a first part of the cache block to the write block, wherein the first part of the cache block is accessible after the copying of the first subportion to the write block and prior to copying a second subportion of the plurality of subportions of the selected portion of the data from a second part of the cache block to the write block; subsequent to the copying of the first subportion, servicing a request to access the memory device, wherein the request is received from a host of the memory device; recording a page number of a page of the cache block; and subsequent to the servicing of the request, using the page number to resume copying the data from the cache block, wherein the resumed copying includes copying the second subportion from the second part of the cache block to the write block.