Asynchronous power loss handling approach for a memory sub-system
AssigneeMicron Technology, Inc.
InventorMichael G. Miller
Life of this patent
Estimating the term…
Abstract
An asynchronous power loss (APL) event is determined to occur. A first erased page (FEP) in a block of a memory device is determined and a last written page (LWP) is determined from the FEP. Data is read from the LWP and peer pages corresponding to the LWP. The data is copied to a temporary area in the memory device and a write pointer is incremented by a deterministic number of pages in the block. Data from the temporary area is copied to a page location in the block identified by the write pointer and the write pointer is incremented by the deterministic number of pages again. A host system is notified that the memory device is ready for a subsequent programming operation after the APL event.
Claims20
A system comprising:
- a memory device;
- and
- a processing device, operatively coupled with the memory device, to perform operations comprising:
- determining that an asynchronous power loss (APL) event occurred;
- determining a first erased page (FEP) in a block of the memory device;
- determining, from the FEP, a last written page (LWP) in the block;
- reading data from the LWP and peer pages corresponding to the LWP;
- copying the data from the LWP and the peer pages to a temporary area in the memory device;
- incrementing a write pointer of the FEP by a deterministic number of pages in the block;
- copying the data from the temporary area to a page location in the block, the page location being identified by the write pointer;
- incrementing the write pointer by the deterministic number of pages;
- and
- notifying a host system that the memory device is ready for a subsequent programming operation after the APL event.
A method comprising:
- determining, by a processing device, an asynchronous power loss (APL) event occurred in a system comprising the processing device and a memory device;
- determining a first erased page (FEP) in a block of the memory device;
- determining, from the FEP, a last written page (LWP) in the block;
- reading data from the LWP and additional data from peer pages corresponding to the LWP;
- copying the data from the LWP and the additional data from the peer pages to a temporary area in the memory device;
- incrementing a write pointer of the FEP by a deterministic number of pages in the block;
- copying the data and the additional data from the temporary area to a page location in the block identified by the write pointer;
- incrementing the write pointer by the deterministic number of pages;
- and
- notifying a host system that the memory device is ready for a subsequent programming operation after the APL event.
A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
- determine that an asynchronous power loss (APL) event occurred;
- locate a last written page of a block in a memory device;
- determine that data from the last written page is readable or recoverable;
- copy the data from the last written page to a temporary area in the memory device;
- increment a write pointer to an empty page in the block;
- copy the data from the temporary area to the empty page;
- increment the write pointer to a next empty page in the block;
- and
- notify a host system that the memory device is ready for a programming operation.
Dependencies are inferred from the claim text.