Back to results
US 8,572,309 B2Granted
Apparatus and method to protect metadata against unexpected power down
AssigneeMarvell World Trade Ltd.
InventorsLuan Ton-That, Lau Nguyen, Gwoyuh Hwu
Life of this patent
Estimating the term…
Abstract
A system includes first memory configured to store first metadata to associate logical addresses with physical addresses. Second memory is configured to include the physical addresses, to store first data based on the physical addresses, and to store portions of the first metadata when a status of a predetermined group of the physical addresses is changed. A recovery module is configured to update the first metadata based on the portions of the first metadata stored in the second memory.
Claims12
A system, comprising:
- a first memory configured to store first metadata to associate logical addresses with physical addresses;
- a second memory having the physical addresses, wherein the second memory is configured to
- store first data based on the physical addresses of the second memory, and
- store portions of the first metadata i) in response to a status of a predetermined group of the physical addresses being changed, and ii) regardless of whether the system is being powered down;
- and
- a recovery module configured to, in response to a determination that the system was powered down improperly, update the first metadata stored in the first memory based on the portions of the first metadata stored in the second memory,
- wherein the first metadata includes a first lookup table to associate the logical addresses with the physical addresses of the second memory,
- wherein the first metadata includes a second lookup table to associate the physical addresses of the second memory with the logical addresses,
- wherein the predetermined group of the physical addresses is a wide erase block unit (WERU),
- wherein the first metadata includes identifiers for a plurality of WERUs, and wherein the identifiers correspond to respective bins, and
- wherein the first metadata includes an activity log to indicate when a first identifier for one of the plurality of WERUs is changed.
8 more elements
A method for operating a device, the method comprising:
- storing, in a first memory, first metadata that associates logical addresses with physical addresses, wherein the physical addresses are associated with a second memory;
- storing, in the second memory, first data based on the physical addresses of the second memory;
- storing portions of the first metadata in the second memory i) in response to a status of a predetermined group of the physical addresses being changed, and ii) regardless of whether the device is powered down;
- in response to a determination that the device was powered down improperly, updating the first metadata stored in the first memory based on the portions of the first metadata stored in the second memory;
- associating the logical address with the physical addresses of the second memory based on a first lookup table included in the first metadata;
- associating the physical addresses of the second memory with the logical addresses based on a second lookup table included in the first metadata,
- wherein the predetermined group of the physical addresses is a wide erase block unit (WERU), and
- wherein the first metadata includes identifiers for a plurality of WERUs, and wherein the identifiers correspond to respective bins;
- and
- indicating when a first identifier for one of the plurality of WERUs is changed using an activity log included in the first metadata.
7 more elements
Dependencies are inferred from the claim text.