# US 2023/0409473 A1 · Namespace change propagation in non-volatile memory devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409473 A1
- Document ID: US20230409473A1
- Status: Published application
- Kind: A1
- Application number: 18/340,756
- Filed: 2023-06-23
- Published: 2023-12-21
- Earliest claimed: 2017-11-16
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Alex Frolikov
- Web page: https://patentgrep.com/patent/US20230409473A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0884: Parallel mode, e.g. in parallel with main memory or CPU
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer storage device having a host interface, a controller, non-volatile storage media, and firmware. The firmware instructs the controller to: generate mapping data defining mapping, from logical block addresses in namespaces configured on the non-volatile storage media, to logical block addresses in a capacity of the non-volatile storage media; maintain an active copy of the mapping data; generate cached copies of the mapping data from the active copy; generate a shadow copy from the active copy; implement changes in the shadow copy; after the changes are made in the shadow copy, activate the shadow copy and simultaneously deactivate the previously active copy; and update the cached copies according to the newly activated copy, as a response to the change in active copy identification.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A device, comprising:
memory; and
a controller coupled to the memory and configured to:
generate, in the memory, a first logical address map and a second logical address map that is identical to the first logical address map;
identify the first logical address map as active to cause the first logical address map to be loaded in response to a request to load from the memory a map for logical addresses;
implement one or more changes in the second logical address map while the first logical address map is identified as active; and
identify, after the one or more changes, the second logical address map as active to cause the second logical address map to be loaded in response to a request to load from the memory a map for logical addresses.

### Claim 22 (depends on 21)

The device of claim 21, wherein the controller is further configured to:
receive, during a time period in which the first logical address map is identified as active, a first request to load from the memory a map for logical addresses; and
provide, in response to the first request, the first logical address map to a cache.

### Claim 23 (depends on 22)

The device of claim 22, wherein the controller is further configured to:
communicate, in response to the second logical address map being identified as active, with the cache to synchronize the first logical address map loaded in the cache with the second logical address map.

### Claim 24 (depends on 23)

The device of claim 23, wherein the cache is configured in a core of a processor of the controller.

### Claim 25 (depends on 24)

The device of claim 24, wherein the first logical address map and the second logical address are generated and stored in the memory separate from the controller.

### Claim 26 (depends on 25)

The device of claim 25, wherein the controller comprises a plurality of processors, each having a cache.

### Claim 27 (depends on 26)

The device of claim 26, wherein the memory includes non-volatile storage media;
and the first logical address map is configured to map logical addresses defined in one or more namespaces to logical addresses defined in a capacity of the non-volatile storage media.

### Claim 28 (depends on 27)

The device of claim 27, wherein the memory further includes a volatile random access memory; and the first logical address map and the second logical address are generated and stored in the volatile random access memory.

### Claim 29 (depends on 28)

The device of claim 28, wherein the controller is configured with firmware having a first component and a second component;
wherein only one instance of the first component is allowed to run in the device at a time to modify a logical address map in the volatile random access memory that is not identified as active; and
wherein multiple instances of the second components are allowed to run concurrently in the device but not allowed to modify a logical address map in the volatile random access memory.

### Claim 30

A method, comprising:
generating, by a controller of a device and in memory of the device, a first logical address map and a second logical address map that is identical to the first logical address map;
identifying the first logical address map as active to cause the first logical address map to be loaded in response to a request to load a map for logical addresses;
implementing one or more changes in the second logical address map while the first logical address map is identified as active; and
identifying, after the one or more changes, the second logical address map as active to cause the second logical address map to be loaded in response to a request to load a map for logical addresses.

### Claim 31 (depends on 30)

The method of claim 30, further comprising:
receiving, during a time period in which the first logical address map is identified as active, a first request to load from the memory a map for logical addresses; and
providing, in response to the first request, the first logical address map to a cache in the device.

### Claim 32 (depends on 31)

The method of claim 31, further comprising:
communicating, in response to the second logical address map being identified as active, with the cache to synchronize the first logical address map loaded in the cache with the second logical address map.

### Claim 33 (depends on 32)

The method of claim 32, wherein the cache is configured in a core of a processor of the controller.

### Claim 34 (depends on 33)

The method of claim 33, wherein the controller comprises a plurality of processors, each having a cache.

### Claim 35 (depends on 34)

The method of claim 34, wherein the memory includes non-volatile storage media; and the first logical address map is configured to map logical addresses defined in one or more namespaces to logical addresses defined in a capacity of the non-volatile storage media.

### Claim 36 (depends on 35)

The method of claim 35, wherein the memory further includes a volatile random access memory; and the first logical address map and the second logical address are generated and stored in the volatile random access memory.

### Claim 37 (depends on 36)

The method of claim 36, wherein the controller is configured with firmware having a first component and a second component;
wherein only one instance of the first component is allowed to run in the device at a time to modify a logical address map in the volatile random access memory that is not identified as active; and
wherein multiple instances of the second components are allowed to run concurrently in the plurality of processors but not allowed to modify a logical address map in the volatile random access memory.

### Claim 38

A non-transitory computer storage medium storing instructions which, when executed by a device, cause the device to perform a method, the method comprising:
generating, by a controller of the device and in memory of the device, a first logical address map and a second logical address map that is identical to the first logical address map;
identifying the first logical address map as active to cause the first logical address map to be loaded in response to a request to load a map for logical addresses;
implementing one or more changes in the second logical address map while the first logical address map is identified as active; and
identifying, after the one or more changes, the second logical address map as active to cause the second logical address map to be loaded in response to a request to load a map for logical addresses.

### Claim 39 (depends on 38)

The non-transitory computer storage medium of claim 38, wherein the method further comprises:
receiving, during a time period in which the first logical address map is identified as active, a first request to load from the memory a map for logical addresses;
providing, in response to the first request, the first logical address map to a cache in the device; and
communicating, in response to the second logical address map being identified as active, with the cache to synchronize the first logical address map loaded in the cache with the second logical address map.

### Claim 40 (depends on 38)

The non-transitory computer storage medium of claim 38, wherein the instructions are configured as a first component and a second component;
wherein only one instance of the first component is allowed to run in the device at a time to modify a logical address map in the memory.
