Nonvolatile memory data recovery after power failure
First Claim
Patent Images
1. A method for data recovery after a power failure, comprising the steps of:
- determining whether a last power-down of a memory was an unsafe power-down, wherein the memory comprises a plurality of physical pages each having at least an upper page and a lower page;
searching at least some of the plurality of physical pages to find a first erased lower page in response to the last power-down of the memory being determined unsafe;
identifying an unsafe zone as two or more adjoining physical pages of the plurality of physical pages that include the first erased lower page and partially programmed data created by the unsafe power-down;
identifying a pad zone as one or more of the plurality of physical pages located after the unsafe zone; and
writing new data in the plurality of physical pages located after the pad zone, wherein the new data is written in a same block of the memory as the pad zone.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for data recovery after a power failure is disclosed. The method may include steps (A) to (D). Step (A) may determine that a last power-down of a solid-state drive was an unsafe power-down. Step (B) may search at least some of a plurality of pages of a nonvolatile memory of the solid-state drive to define an unsafe zone in response to the determining that the last power-down of the solid-state drive was the unsafe power-down. Step (C) may define a pad zone comprising one or more of the pages subsequent to the unsafe zone. Step (D) may resume operation of the solid-state drive by writing new data subsequent to the pad zone.
-
Citations
20 Claims
-
1. A method for data recovery after a power failure, comprising the steps of:
-
determining whether a last power-down of a memory was an unsafe power-down, wherein the memory comprises a plurality of physical pages each having at least an upper page and a lower page; searching at least some of the plurality of physical pages to find a first erased lower page in response to the last power-down of the memory being determined unsafe; identifying an unsafe zone as two or more adjoining physical pages of the plurality of physical pages that include the first erased lower page and partially programmed data created by the unsafe power-down; identifying a pad zone as one or more of the plurality of physical pages located after the unsafe zone; and writing new data in the plurality of physical pages located after the pad zone, wherein the new data is written in a same block of the memory as the pad zone. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus comprising:
-
an interface configured to process a plurality of read/write operations to/from a memory, wherein the memory comprises a plurality of physical pages each having at least an upper page and a lower page; and a control circuit configured to determine whether a last power-down of the memory was an unsafe power-down, search at least some of the plurality of physical pages to find a first erased lower page in response to the last power-down of the memory being determined unsafe, identify an unsafe zone as two or more adjoining physical pages of the plurality of physical pages that include the first erased lower page and partially programmed data created by the unsafe power-down, identify a pad zone as one or more of the plurality of physical pages located after the unsafe zone, and write new data in the plurality of physical pages located after the pad zone, wherein the new data is written in a same block of the memory as the pad zone. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus comprising:
-
a memory configured to store data among a plurality of physical pages each having at least an upper page and a lower page; and a controller configured to determine whether a last power-down of the memory was an unsafe power-down, search at least some of the plurality of physical pages to find a first erased lower page in response to the last power-down of the memory being determined unsafe, identify an unsafe zone as two or more adjoining physical pages of the plurality of physical pages that include the first erased lower page and partially programmed data created by the unsafe power-down, identify a pad zone as one or more of the plurality of physical pages located after the unsafe zone, and write new data in the plurality of physical pages located after the pad zone, wherein the new data is written in a same block of the memory as the pad zone. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification