Fast saving of data during power interruption in data storage systems
First Claim
Patent Images
1. A non-volatile data storage system, comprising:
- a non-volatile memory array comprising a plurality of memory die;
a volatile memory; and
a controller configured to;
maintain a mapping associating a set of physical addresses in the non-volatile memory array where host system data is stored with a set of logical addresses, wherein at least a portion of the mapping is stored in the volatile memory during operation,detect, on an indication of a power shutdown, whether the power shutdown is an unexpected interruption of power or an expected interruption of power,in response to detecting the unexpected interruption of power, write host system data stored in the volatile memory along with one or more mapping data headers to one or more first memory locations in one or more super blocks of the non-volatile memory array, each superblock comprising a plurality of memory blocks in multiple memory die of the plurality of memory die, the one or more mapping data headers comprising physical addresses of second memory locations within the non-volatile memory array that are designated for storing the host system data written to the one or more first memory locations in response to detecting the unexpected interruption of power, the first memory locations being different than the second memory locations, the host system data and one or more mapping data headers being written without updating the mapping or storing mapping updates in the non-volatile memory array, andupon resuming operation following the unexpected interruption of power, scan the one or more superblocks for the one or more mapping data headers comprising the physical addresses of the second memory locations.
8 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of systems and methods that ensure integrity of data during unexpected power interruption of loss are disclosed. In some embodiments, critical data is saved quickly and efficiently using backup power. Data integrity is ensured even when the reliability of backup power sources is an issue. In some embodiments, by skipping the updating and saving of system data while operating on backup power, significant reduction of time for saving critical data can be achieved. System data can be restored next time the data storage system is restarted. Improvements of data storage system reliability are thereby attained.
125 Citations
19 Claims
-
1. A non-volatile data storage system, comprising:
-
a non-volatile memory array comprising a plurality of memory die; a volatile memory; and a controller configured to; maintain a mapping associating a set of physical addresses in the non-volatile memory array where host system data is stored with a set of logical addresses, wherein at least a portion of the mapping is stored in the volatile memory during operation, detect, on an indication of a power shutdown, whether the power shutdown is an unexpected interruption of power or an expected interruption of power, in response to detecting the unexpected interruption of power, write host system data stored in the volatile memory along with one or more mapping data headers to one or more first memory locations in one or more super blocks of the non-volatile memory array, each superblock comprising a plurality of memory blocks in multiple memory die of the plurality of memory die, the one or more mapping data headers comprising physical addresses of second memory locations within the non-volatile memory array that are designated for storing the host system data written to the one or more first memory locations in response to detecting the unexpected interruption of power, the first memory locations being different than the second memory locations, the host system data and one or more mapping data headers being written without updating the mapping or storing mapping updates in the non-volatile memory array, and upon resuming operation following the unexpected interruption of power, scan the one or more superblocks for the one or more mapping data headers comprising the physical addresses of the second memory locations. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a non-volatile data storage system comprising a controller, a volatile memory, and a non-volatile memory array comprising a plurality of memory die, a method of storing data, the method comprising:
-
maintaining a mapping associating a set of physical addresses in the non-volatile memory array where host system data is stored with a set of logical addresses, wherein at least a portion of the mapping is stored in the volatile memory during operation; detect, on an indication of a power shutdown, whether the power shutdown is an unexpected interruption of power or an expected interruption of power; in response to detecting an unexpected interruption of power, writing host system data stored in the volatile memory along with one or more mapping data headers to one or more first memory locations in one or more super blocks of the non-volatile memory array, each superblock comprising a plurality of memory blocks in multiple memory die of the plurality of memory die, the one or more mapping data headers comprising physical addresses of second memory locations within the non-volatile memory array that are designated for storing the host system data written to the one or more first memory locations in response to detecting the unexpected interruption of power, the first memory locations being different than the second memory locations, the host system data and one or more mapping data headers being written without updating the mapping or storing mapping updates in the non-volatile memory array; and upon resuming operation following the unexpected interruption of power, scanning the one or more superblocks for the one or more mapping data headers comprising the physical addresses of the second memory locations, wherein the method is performed under control of the controller. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification