IP Library Granted Patent US 11,204,841
Granted Patent B2
US 11,204,841 · App. 15/947,428 · Granted Dec 21, 2021

Meta data protection against unexpected power loss in a memory system

Inventor: Alex Frolikov (San Jose, CA)
Assignee: Micron Technology, Inc.
G06F11/1446G06F1/30G06F1/3225G06F2212/1032
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,204,841
App. No.
15/947,428
Granted
Dec 21, 2021
Kind
B2
Abstract

A memory system having a set of non-volatile media, a volatile memory, a buffer memory, and a controller configured to process requests from a host system to store data in the non-volatile media or retrieve data from the non-volatile media. The buffer memory is capable of holding data for at least a predetermined period of time after the volatile memory loses data during an event of power outage in the memory system. A power manager monitors a power supply of the memory system to detect an onset of power outage and, in response to the onset of power outage, causes the controller to copy meta data in the volatile memory to the buffer memory.

Claims (41)

1. A memory system, comprising:

a set of non-volatile media;

a volatile memory configured to store meta data of a flash translation layer for data stored in the set of non-volatile media;

a buffer memory that is capable of holding the meta data of the flash translation layer for at least a predetermined period of time after the volatile memory loses data during an event of power outage in the memory system, wherein the buffer memory includes a capacitor that when fully charged has sufficient power to allow the buffer memory to hold at least the meta data of the flash translation layer stored in the buffer memory for at least the predetermined period of time after the volatile memory loses data during the event of power outage; and

a controller configured to process requests from a host system to store data in the set of non-volatile media or retrieve data from the set of non-volatile media;

wherein a power manager monitors a power supply of the memory system to detect an onset of power outage and, in response to the onset of power outage, causes the controller to copy the meta data in the volatile memory to the buffer memory;

wherein the power manager stores an indicator in the set of non-volatile media indicating whether the buffer memory holds valid data before expiration of the predetermined period of time;

wherein after the event of power outage, the controller performs recovery based on the indicator stored in the set of non-volatile media.

2. The memory system of claim 1 , wherein the set of non-volatile media includes a flash memory.

3. The memory system of claim 2 , wherein the memory system is a solid-state drive.

4. The memory system of claim 3 , wherein the meta data includes an address map between logical addresses and physical addresses.

5. The memory system of claim 4 , wherein the buffer memory loses the data stored in the buffer memory after the predetermined period of time.

6. The memory system of claim 4 , wherein the power manager further causes the controller to store the meta data into the set of non-volatile media during the predetermined period of time.

7. The memory system of claim 6 , wherein the power manager changes the indicator in the set of non-volatile media to indicate that the buffer memory does not hold valid data prior to expiration of the predetermined period of time.

8. A method, comprising:

providing a buffer memory that includes a capacitor, in a memory system having:

a set of non-volatile media;

a volatile memory configured to store meta data of a flash translation layer for data stored in the set of non-volatile media; and

a controller configured to process requests from a host system to store data in the set of non-volatile media or retrieve data from the set of non-volatile media, wherein the buffer memory is capable of holding the meta data of the flash translation layer for at least a predetermined period of time after the volatile memory loses data during an event of power outage in the memory system;

monitoring, by a power manager of the memory system, a power supply of the memory system to detect an onset of power outage;

copying, by the controller in response to the onset of power outage, the meta data in the volatile memory to the buffer memory;

charging fully the capacitor of the buffer memory, before the onset of power outage;

powering, using the capacitor, the buffer memory to hold the meta data of the flash translation layer stored in the buffer memory for at least the predetermined period of time after the volatile memory loses data during the event of power outage;

storing an indicator in the set of non-volatile media indicating that the buffer memory holds valid data before expiration of the predetermined period of time; and

performing recovery, after the event of power outage, based on the indicator stored in the set of non-volatile media.

9. The method of claim 8 , wherein the set of media includes a flash memory; the memory system is a solid-state drive; and the meta data includes an address map between logical addresses and physical addresses.

10. The method of claim 9 , wherein the controller includes a plurality of processors running a plurality of processes.

11. The method of claim 10 , wherein the buffer memory loses the data stored in the buffer memory after the predetermined period of time.

12. The method of claim 10 , further comprising:

storing, during the predetermined period of time, the meta data into the set of non-volatile media.

13. The method of claim 10 , further comprising:

changing the indicator in the set of non-volatile media to indicate that the buffer memory does not hold valid data prior to expiration of the predetermined period of time.

14. A non-transitory computer storage medium storing instructions which, when executed by a memory system having a set of non-volatile media, a volatile memory, and a controller, cause the memory system to perform a method, the method comprising:

processing requests from a host system to store data in the set of non-volatile media or retrieve data from the set of non-volatile media,

storing in the volatile memory, meta data of a flash translation layer for data stored in the set of non-volatile media;

monitoring a power supply of the memory system to detect an onset of power outage;

copying, by the controller in response to the onset of power outage, the meta data in the volatile memory to a buffer memory that is capable of holding the meta data of the flash translation layer for at least a predetermined period of time after the volatile memory loses data during an event of power outage in the memory system, wherein the buffer memory includes a capacitor that when fully charged has sufficient power to allow the buffer memory to hold the meta data of the flash translation layer stored in the buffer memory for at least the predetermined period of time after the volatile memory loses data during the event of power outage;

storing an indicator in the set of non-volatile media indicating that the buffer memory holds valid data before expiration of the predetermined period of time; and

performing recovery, after the event of power outage, based on the indicator stored in the set of non-volatile media.

15. The non-transitory computer storage medium of claim 14 , wherein the method further comprises:

changing the indicator in the set of non-volatile media to indicate that the buffer memory does not hold valid data prior to expiration of the predetermined period of time.

Assignments (5)
RELEASE OF SECURITY INTEREST Recorded Nov 12, 2019
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.; MICRON SEMICONDUCTOR PRODUCTS, INC.
Reel/Frame 051028/0001 →
RELEASE OF SECURITY INTEREST Recorded Oct 11, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.
Reel/Frame 050713/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 26, 2018
From: FROLIKOV, ALEX
To: MICRON TECHNOLOGY, INC.
Reel/Frame 046978/0124 →
SUPPLEMENT NO. 9 TO PATENT SECURITY AGREEMENT Recorded Aug 9, 2018
From: MICRON TECHNOLOGY, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
Reel/Frame 047282/0463 →
SECURITY INTEREST Recorded Jul 13, 2018
From: MICRON TECHNOLOGY, INC.; MICRON SEMICONDUCTOR PRODUCTS, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 047540/0001 →