# US 2025/0085857 A1 · Host-device garbage collection coordination for storage devices

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

- Number: US 2025/0085857 A1
- Document ID: US20250085857A1
- Status: Published application
- Kind: A1
- Application number: 18/513,507
- Filed: 2023-11-17
- Published: 2025-03-13
- Earliest claimed: 2023-09-07
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Javier GONZALEZ; Arun GEORGE; Michael Scott ALLISON; Daniel Lee HELMICK
- Web page: https://patentgrep.com/patent/US20250085857A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system is disclosed. The system may include a storage device and a processor. The processor may send a write request to the storage device. The write request may include a data to be written and a reclaim unit identifier identifying how the data is to be organized on the storage device. The processor may also send a message to the storage device regarding management of garbage collection of a reclaim unit identified by the reclaim unit identifier.

## Claims

### Claim 1

A system, comprising:
a storage device; and
a processor configured to send a write request to the storage device, the write request including a data to be written and a reclaim unit identifier identifying how the data is to be organized on the storage device,
wherein the processor is further configured to send a message to the storage device regarding management of garbage collection of a reclaim unit identified by the reclaim unit identifier.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the storage device is configured to assign a first garbage collection priority to the reclaim unit.

### Claim 3 (depends on 2)

The system according to claim 2, wherein:
the storage device includes a second reclaim unit; and
the storage device includes a garbage collection priority unit to assign a second garbage collection priority to the second reclaim unit, the first garbage collection priority lower than the second garbage collection priority.

### Claim 4 (depends on 1)

The system according to claim 1, wherein:
the reclaim unit includes a first size; and
the storage device includes a second reclaim unit, the second reclaim unit including a second size, wherein the first size and the second size are different.

### Claim 5 (depends on 1)

The system according to claim 1, wherein the storage device includes a controller to select the reclaim unit for garbage collection and to send a garbage collection message to the processor to inform the processor.

### Claim 6 (depends on 5)

The system according to claim 5, wherein the controller is configured to select the reclaim unit for garbage collection based at least in part on a media integrity issue.

### Claim 7

A method, comprising:
sending a write request from a processor to a storage device, the write request including a data to be written and a reclaim unit identifier identifying how the data is to be organized on the storage device; and
sending a message from the processor to the storage device regarding management of garbage collection of a reclaim unit identified by the reclaim unit identifier.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising sending a second message to the storage device regarding management of garbage collection of the reclaim unit.

### Claim 9 (depends on 7)

The method according to claim 7, further comprising performing garbage collection of the reclaim unit by the processor.

### Claim 10 (depends on 7)

The method according to claim 7, further comprising receiving a garbage collection message at the processor from the storage device, the garbage collection message indicating that the storage device performs garbage collection of the reclaim unit.

### Claim 11

A method, comprising:
receiving a write request at a storage device from a processor, the write request including a data to be written and a reclaim unit identifier identifying how the data is to be organized on the storage device;
writing the data to a reclaim unit identified by the reclaim unit identifier; and
receiving a message at the storage device from the processor regarding management of garbage collection of the reclaim unit identified by the reclaim unit identifier.

### Claim 12 (depends on 11)

The method according to claim 11, wherein receiving the message at the storage device from the processor regarding management of garbage collection of the reclaim unit identified by the reclaim unit identifier includes assigning a priority to the reclaim unit.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the reclaim unit identifier includes a reclaim unit handle, the reclaim unit handle identifying the reclaim unit and a second reclaim unit.

### Claim 14 (depends on 11)

The method according to claim 11, wherein:
the reclaim unit identifier includes a logical address; and
the method further comprises identifying the reclaim unit from an association between the logical address and the reclaim unit.

### Claim 15 (depends on 11)

The method according to claim 11, wherein:
the reclaim unit identifier includes a logical address range, the logical address range including a first logical address and a second logical address;
the reclaim unit includes the logical address in the logical address range;
a second reclaim unit includes the second logical address in the logical address range; and
the method further comprises:
identifying the reclaim unit from an association between the logical address range and the reclaim unit; and
identifying the second reclaim unit from a second association between the logical address range and the second reclaim unit.

### Claim 16 (depends on 11)

The method according to claim 11, further comprising receiving a message at the storage device from the processor regarding management of garbage collection of the reclaim unit identified by the reclaim unit identifier.

### Claim 17 (depends on 16)

The method according to claim 16, wherein receiving the message at the storage device from the processor regarding management of garbage collection of the reclaim unit identified by the reclaim unit identifier includes performing garbage collection of the reclaim unit by the storage device.

### Claim 18 (depends on 11)

The method according to claim 11, further comprising:
selecting the reclaim unit for garbage collection by the storage device; and
performing garbage collection on the reclaim unit by the storage device.

### Claim 19 (depends on 18)

The method according to claim 18, further comprising sending a garbage collection message to the processor from the storage device that the reclaim unit is selected for garbage collection by the storage device.

### Claim 20 (depends on 19)

The method according to claim 19, wherein:
performing garbage collection on the reclaim unit by the storage device includes programming the data from the reclaim unit into a second reclaim unit by the storage device; and
sending the garbage collection message to the processor from the storage device that the reclaim unit is selected for garbage collection by the storage device includes writing a second reclaim unit identifier identifying the second reclaim unit in a log page by the storage device.
