# US 2021/0064526 A1 · Remapping techniques for nand storage

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

- Number: US 2021/0064526 A1
- Document ID: US20210064526A1
- Status: Published application
- Kind: A1
- Application number: 16/552,246
- Filed: 2019-08-27
- Published: 2021-03-04
- Earliest claimed: 2019-08-27
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: David Aaron Palmer; Nadav Grosz
- Web page: https://patentgrep.com/patent/US20210064526A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/064: {Management of blocks}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/1016: Performance improvement
- G06F 2212/1056: Simplification
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Devices and techniques are disclosed herein for remapping data of flash memory indexed by logical block addresses (LBAs) of a host device in response to re-map requests received at a flash memory system from the host device or in response to re-map requests generated at the flash memory system.

## Claims

### Claim 1

A method comprising:
receiving a logical block address (LBA) re-map request from a host device at a controller of a flash memory device, the LBA re-map request including an LBA range, and the LBA re-map request configured to associate a new LBA with data stored on the flash memory device;
locating records associated with one or more LBAs of the LBA range in a logical-to-physical address map (L2P) table in response to the LBA re-map request;
modifying each of the records to execute a portion of the LBA re-map request; and
wherein execution of the LBA re-map request does not exchange the data stored on the flash memory device with the host device.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving a LBA re-map request from a host device at a controller of a flash memory device includes:
receiving a logical block address (LBA) move instruction at the controller of the flash memory device from the host device; and
wherein the LBA range includes a source LBA range and a destination LBA range.

### Claim 3 (depends on 2)

The method of claim 2, wherein locating a record associated with one or more LBAs of the LBA range in a logical-to-physical address map (L2P) table includes locating a record associated with each source LBA in the L2P table of the flash memory device.

### Claim 4 (depends on 3)

The method of claim 3, wherein modifying each of the one or more records to execute a portion of the LBA re-map request includes setting an L2P record associated with each destination LBA of the destination LBA range to point to the data location associated with the corresponding source LBA of the source LBA range.

### Claim 5 (depends on 4)

The method of claim 4, including resetting each remaining L2P record associated with an LBA of the source LBA range to an unmapped state.

### Claim 6 (depends on 1)

The method of claim 1, wherein the receiving an LBA re-map request from a host device at a controller of a flash memory device includes:
receiving an LBA copy command at the controller of the flash memory device from the host device; and
wherein the LBA range includes a source LBA range and a destination LBA range.

### Claim 7 (depends on 6)

The method of claim 6, wherein locating a record associated with one or more LBAs of the LBA range in a logical-to-physical address map (L2P) table includes locating a record associated with each source LBA in the L2P table of the flash memory device.

### Claim 8 (depends on 7)

The method of claim 7, wherein, when the LBA copy command is a shallow LBA copy command, modifying each of the one or more records to execute a portion of the data movement command includes setting an L2P record associated with each destination LBA of the destination LBA range to point to the physical address associated with the corresponding source LBA of the source LBA range.

### Claim 9 (depends on 7)

The method of claim 7, wherein, when the LBA copy command is a deep LBA copy command, modifying each of the one or more records to execute a portion of the data movement command includes, for each LBA of the source LBA range:
reading the data to an internal buffer of the flash memory device;
writing the data from the internal buffer to a new physical address of the flash memory device; and
recording the new physical address in a record of the L2P table associated with a corresponding destination LBA of the destination LBA range.

### Claim 10 (depends on 1)

The method of claim 1, wherein the receiving an LBA re-map request from a host device at a controller of a flash memory device includes:
receiving a defragmentation command at the controller of the flash memory device from the host device, the defragmentation command including an LBA range;
analyzing the data at the physical addresses of the flash memory associated with each LBA of the LBA range to determine an amount of valid data; and
modifying the L2P table to reallocate the valid data toward one end of the LBA range.

### Claim 11

A flash memory system comprising:
flash memory configured to store data of a host device;
a flash memory control circuit configured to interface to the host device and to the flash memory; and
a logical-to-physical (L2P) table configured to map physical addresses of the flash memory with logical block addresses (LBAs) of the host device;
wherein the flash memory control circuit is configured to:
receive a LBA re-map request from the host device and to associate a new LBA with the data stored on the flash memory, the LBA re-map including an LBA range;
locate records associated with one or more LBAs of the LBA range in the L2P table in response to the LBA re-map request; and
modify each of the records to execute a portion of the LBA re-map request; and
wherein execution of the LBA re-map request does not exchange the data stored on the flash memory device with the host device.

### Claim 12 (depends on 11)

The flash memory system of claim 11, wherein the LBA re-map request is a LBA move command; and
wherein the LBA range includes a source LBA range and a destination LBA range.

### Claim 13 (depends on 12)

The flash memory system of claim 12, wherein the records are records associated with each source LBA of the source LBA range.

### Claim 14 (depends on 13)

The flash memory system of claim 13, wherein the flash memory control circuit is configured to set an L2P record associated with each destination LBA of the destination LBA range to point to a physical address associated with the corresponding source LBA of the source LBA range in response to the LBA move command.

### Claim 15 (depends on 14)

The flash memory system of claim 14, wherein the flash memory control circuit is configured to reset each L2P record associated with an LBA of the source LBA range to an unmapped state.

### Claim 16 (depends on 11)

The flash memory system of claim 11, wherein the LBA re-map request is a LBA copy command;
wherein the LBA range includes a source LBA range and a destination LBA range;
wherein the records are records associated with each source LBA of the source LBA range; and
wherein the flash memory control circuit is configured to set an L2P record associated with each destination LBA of the destination LBA range to point to a physical address associated with the corresponding source LBA of the source LBA range in response to the LBA copy command.

### Claim 17 (depends on 11)

The flash memory system of claim 11, wherein the LBA re-map request is an LBA deep copy command;
wherein the LBA range includes a source LBA range and a destination LBA range;
wherein the records are records associated with each source LBA of the source LBA range; and
wherein the flash memory control circuit is configured to:
read the data for associated with each source LBA of the source LBA range from a physical address of the flash memory associated with each source LBA to an internal buffer of the flash memory;
write the data from the internal buffer to a new physical address of the flash memory device; and
record the new physical address in a record of the L2P table associated with a corresponding destination LBA of the destination LBA range.

### Claim 18 (depends on 11)

The flash memory system of claim 11, wherein the LBA re-map request is an LBA defragmentation command; and
wherein the flash memory control circuit is configured to:
analyze the data at the physical addresses of the flash memory associated with each LBA of the LBA range to determine an amount of valid data; and
modify the L2P table to reallocate the valid data toward one end of the LBA range.

### Claim 19

A machine-readable medium, comprising instructions, which when executed by a processor of a flash memory device, cause the processor to perform operations comprising:
receiving a logical block address (LBA) re-map request from a host device at a controller of a flash memory device, the LBA command including an LBA range, and the LBA re-map request configured to associate a new LBA with data stored on the flash memory device;
locating records associated with one or more LBAs of the LBA range in a logical-to-physical address map (L2P) table in response to the LBA re-map request;
modifying each of the records to execute a portion of the LBA re-map request; and
wherein execution of the LBA re-map request does not exchange the data stored on the flash memory device with the host device.

### Claim 20 (depends on 19)

The machine-readable medium of claim 19, wherein the LBA re-map request is a LBA copy command;
wherein the LBA range includes a source LBA range and a destination LBA range;
wherein the records are records associated with each source LBA of the source LBA range; and
wherein the operations of modifying each of the records includes setting an L2P record associated with each destination LBA of the destination LBA range to point to a physical address associated with the corresponding source LBA of the source LBA range.

### Claim 21 (depends on 19)

The machine-readable medium of claim 19, wherein the LBA re-map request is a LBA move command;
wherein the LBA range includes a source LBA range and a destination LBA range;
wherein the records are records associated with each source LBA of the source LBA range; and
wherein the operations of modifying each of the records includes:
setting an L2P record associated with each destination LBA of the destination LBA range to point to a physical address associated with the corresponding source LBA of the source LBA range; and
resetting each L2P record associated with an LBA of the source LBA range to an unmapped state.

### Claim 22 (depends on 19)

The machine-readable medium of claim 19, wherein the LBA re-map request is a LBA deep copy command;
wherein the LBA range includes a source LBA range and a destination LBA range;
wherein the records are records associated with each source LBA of the source LBA range; and
wherein the operations of modifying each of the records includes, for each LBA of the source LBA range:
reading data associated with the source LBA from a physical address of the flash memory to an internal buffer of the flash memory;
writing the data from the internal buffer to a new physical address of the flash memory; and
recording the new physical address in a record of the L2P table associated with a corresponding destination LBA of the destination LBA range.

### Claim 23 (depends on 19)

The machine-readable medium of claim 19, wherein the LBA re-map request is an LBA defragmentation command; and
wherein the operations include:
analyzing the data at the physical addresses of the flash memory associated with each LBA of the LBA range to determine an amount of valid data; and
modifying the L2P table to reallocate the valid data toward one end of the LBA range.
