# US 10,956,082 B1 · Techniques for directed data migration

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

- Number: US 10,956,082 B1
- Document ID: US10956082B1
- Status: Granted
- Kind: B1
- Application number: 16/702,736
- Filed: 2019-12-04
- Granted: 2021-03-23
- Earliest claimed: 2014-09-09
- Assignees: Radian Memory Systems, Inc.
- Applicants: Radian Memory Systems, Inc.
- Inventors: Alan Chen; Craig Robertson; Robert Lercari; Andrey V. Kuzmin
- Web page: https://patentgrep.com/patent/US10956082B1

## CPC

- 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/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A host stores “context” metadata for logical block addresses (LBAs) in a manner tied to physical location. Notwithstanding log-structured or copy on write processes, the host is then provided with immediate context when the host is called upon to assist a memory controller with data identified by physical location, for example, for memory reconfiguration, garbage collection, wear leveling or other processes. The metadata for example can provide the host with insight as to which data may be moved to enhance performance optimization and where that data can be placed. In one embodiment, the host writes back one or more references that span multiple layers of indirection in concert with write of the underlying data; in another embodiment, the context can point to other metadata.

## Claims

### Claim 1

A memory controller for nonvolatile memory, the nonvolatile memory having a plurality of independently-writable storage locations, the nonvolatile memory also having independently-erasable structures that each comprise at least two of the independently-writable storage locations, the memory controller comprising:
a host interface to receive data access requests from a host, and associated host-supplied addresses;
a memory interface to transmit commands to the nonvolatile memory in response to the data access requests received from the host;
circuitry to store information for respective data stored in each of the independently-writable storage locations, the information identifying at least one level of indirection relative to a corresponding base reference used by the host to access the respective data;
circuitry to perform garbage collection in the nonvolatile memory, by copying valid data from one of the independently-erasable structures to another of the independently-erasable structures; and
circuitry to retrieve and transmit to the host, automatically in connection with said garbage collection, the information identifying the at least one level of indirection which corresponds to the valid data.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein the memory controller further comprises storage to store the information for the respective data, in a manner indexed to a logical block address associated with the respective data.

### Claim 3 (depends on 1)

The memory controller of claim 1, wherein the memory controller further comprises storage to store the information for the respective data, in a manner indexed to a physical address associated with ones of the independently-writable storage locations used to store the respective data.

### Claim 4 (depends on 1)

The memory controller of claim 1, wherein the nonvolatile memory has structural elements each comprising a respective plurality of the independently-writable storage locations, and wherein:
the host-supplied address for each of the data access requests comprises a non-exhaustive portion of an address used to identify specific data; and
the non-exhaustive portion is mapped in advance to the structural elements according to a value of the non-exhaustive portion, such that the host-supplied address for each of the data access requests represents host-differentiation between the structural elements, with a specific value of the non-exhaustive portion compelling selection by the memory controller of a corresponding structural element.

### Claim 5 (depends on 4)

The memory controller of claim 4, wherein the structural elements are the independently-erasable structures, and wherein the information retrieved and transmitted to the host comprises information identifying the other of the independently-erasable structures.

### Claim 6 (depends on 1)

The memory controller of claim 1, wherein the information for the respective data identifies at least one level of indirection used by the host to identify the host-supplied address for the respective data.

### Claim 7 (depends on 4)

The memory controller of claim 4, wherein the structural elements each comprise a respective plurality of two or more of the independently erasable structures.

### Claim 8 (depends on 4)

The memory controller of claim 4, wherein:
the data access requests comprise write requests;
the memory controller comprises circuitry to assign a specific one of the independently-writable storage locations for each write request, where the assigned specific one for each write request corresponds to one of the structural elements selected according to the value; and
the memory controller comprises circuitry to transmit to the host address information for each assigned specific one, wherein host-supplied addresses provided in connection with read requests are dependent upon address information assigned by said circuitry to assign and transmitted to the host by said circuitry to transmit in connection with a prior write of corresponding data.

### Claim 9 (depends on 1)

The memory controller of claim 1, wherein the memory controller comprises circuitry to automatically update the information corresponding to the valid data in connection with the copying, such that the information identifies the other one of the independently erasable structures.

### Claim 10 (depends on 1)

The memory controller of claim 1, wherein the nonvolatile memory is flash memory and comprises dies of flash memory, and wherein the memory controller is embodied as a flash memory controller integrated circuit.

### Claim 11

A storage apparatus comprising:
nonvolatile memory, the nonvolatile memory having a plurality of independently-writable storage locations, the nonvolatile memory also having independently-erasable structures that each comprise at least two of the independently-writable storage locations; and
a memory controller comprising
a host interface to receive data access requests from a host, and associated host-supplied addresses,
a memory interface to transmit commands to the nonvolatile memory in response to the data access requests received from the host,
circuitry to store information for respective data stored in each of the independently-writable storage locations, the information identifying at least one level of indirection relative to a corresponding base reference used by the host to access the respective data,
circuitry to perform garbage collection in the nonvolatile memory, by copying valid data from one of the independently-erasable structures to another of the independently-erasable structures, and
circuitry to retrieve and transmit to the host, automatically in connection with said garbage collection, the information identifying the at least one level of indirection which corresponds to the valid data.

### Claim 12 (depends on 11)

The storage apparatus of claim 11, further comprising storage to store the information for the respective data, in a manner indexed to a logical block address associated with the respective data.

### Claim 13 (depends on 11)

The storage apparatus of claim 11, further comprising storage to store the information for the respective data, in a manner indexed to a physical address associated with ones of the independently-writable storage locations used to store the respective data.

### Claim 14 (depends on 11)

The storage apparatus of claim 11, wherein:
the nonvolatile memory further comprises structural elements each comprising a respective plurality of the independently-writable storage locations;
the host-supplied address for each of the data access requests comprises a non-exhaustive portion of an address used to identify specific data; and
the non-exhaustive portion is mapped in advance to the structural elements according to a value of the non-exhaustive portion, such that the host-supplied address for each of the data access requests represents host-differentiation between the structural elements, with a specific value of the non-exhaustive portion compelling selection by the memory controller of a corresponding structural element.

### Claim 15 (depends on 14)

The storage apparatus of claim 14, wherein the structural elements are the independently-erasable structures, and wherein the information retrieved and transmitted to the host comprises information identifying the other of the independently-erasable structures.

### Claim 16 (depends on 11)

The storage apparatus of claim 11, wherein the information for the respective data identifies at least one level of indirection used by the host to identify the host-supplied address for the respective data.

### Claim 17 (depends on 14)

The storage apparatus of claim 14, wherein the structural elements each comprise a respective plurality of two or more of the independently erasable structures.

### Claim 18 (depends on 14)

The storage apparatus of claim 14, wherein:
the data access requests comprise write requests;
the storage apparatus comprises circuitry to assign a specific one of the independently-writable storage locations for each write request, where the assigned specific one for each write request corresponds to one of the structural elements selected according to the value; and
the storage apparatus comprises circuitry to transmit to the host address information for each assigned specific one, wherein host-supplied addresses provided in connection with read requests are dependent upon address information assigned by said circuitry to assign and transmitted to the host by said circuitry to transmit in connection with a prior write of corresponding data.

### Claim 19 (depends on 11)

The storage apparatus of claim 11, wherein the storage apparatus comprises circuitry to automatically update the information corresponding to the valid data in connection with the copying, such that the information identifies the other one of the independently erasable structures.

### Claim 20 (depends on 11)

The storage apparatus of claim 11, wherein the nonvolatile memory is flash memory and comprises dies of flash memory, and wherein the memory controller is embodied as a memory controller for flash memory.

### Claim 21

A method of operation in a memory controller for nonvolatile memory, the nonvolatile memory having a plurality of independently-writable storage locations, the nonvolatile memory also having independently-erasable structures that each comprise at least two of the independently-writable storage locations, the method comprising:
receiving, via a host interface, data access requests from a host, and associated host-supplied addresses;
transmitting to the nonvolatile memory, via a memory interface, commands to the nonvolatile memory which are in response to the data access requests received from the host; and
with circuitry,
storing information for respective data stored in each of the independently-writable storage locations, the information identifying at least one level of indirection relative to a corresponding base reference used by the host to access the respective data,
performing garbage collection in the nonvolatile memory, by copying valid data from one of the independently-erasable structures to another of the independently-erasable structures, and
retrieving and transmitting to the host, automatically in connection with said garbage collection, the information identifying the at least one level of indirection which corresponds to the valid data.
