# US 2021/0342096 A1 · Storage System and Method for Using Memory Allocated in a Host for Read Data as a Host Memory Buffer

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

- Number: US 2021/0342096 A1
- Document ID: US20210342096A1
- Status: Published application
- Kind: A1
- Application number: 16/866,070
- Filed: 2020-05-04
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Gadi Vishne; Israel Yehiel Zimmerman; Mor Brosh; David Haliva; Eli Ben-Gigi
- Web page: https://patentgrep.com/patent/US20210342096A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system and method for using memory allocated in a host for read data as a host memory buffer are provided. In one embodiment, a controller of a storage system receives a read request from a host for data stored in the memory, wherein the read request identifies a storage location in the host that is allocated by the host to store the requested data after it is received from the storage system. Prior to sending the requested data to the host, the storage system uses the allocated storage location in the host as a host memory buffer to store other data until the host needs the allocated storage location to store the requested data. Other embodiments are provided.

## Claims

### Claim 1

A storage system comprising:
a memory; and
a controller configured to:
receive a read request from a host for data stored in the memory, wherein the read request identifies a storage location in the host that is allocated by the host to store the requested data after it is received from the storage system; and
prior to sending the requested data to the host, store other data in the storage location in the host.

### Claim 2 (depends on 1)

The storage system of claim 1, wherein the storage location in the host is available for use by the storage system without the storage system requesting such use from the host.

### Claim 3 (depends on 1)

The storage system of claim 1, wherein the read request identifies a location and size of the storage location in the host.

### Claim 4 (depends on 1)

The storage system of claim 1, wherein the controller is configured to store the other data in the storage location in the host in parallel with handling the read request.

### Claim 5 (depends on 1)

The storage system of claim 1, wherein the other data comprises data to be written in the memory.

### Claim 6 (depends on 1)

The storage system of claim 1, wherein the other data comprises data for a read error handling operation.

### Claim 7 (depends on 1)

The storage system of claim 1, wherein the other data comprises a mapping table.

### Claim 8 (depends on 1)

The storage system of claim 1, wherein the other data comprises data used in an error correction mechanism.

### Claim 9 (depends on 1)

The storage system of claim 1, wherein the other data is moved from the storage location in the host to another storage location before the requested data is received by the host and stored in the storage location.

### Claim 10 (depends on 1)

The storage system of claim 1, wherein the other data is overwritten when the requested data is received by the host and stored in the storage location.

### Claim 11 (depends on 1)

The storage system of claim 1, wherein the memory comprises a three-dimensional memory.

### Claim 12

A method comprising:
performing the following in a storage system comprising a memory:
receiving a read command from a host requesting data stored in the memory;
handling the read command;
while handling the read command but prior to transferring the data to the host, using a buffer allocated in the host for the data as a host memory buffer to store other data; and
transferring the data to the host.

### Claim 13 (depends on 12)

The method of claim 12, wherein the other data comprises data to be written in the memory.

### Claim 14 (depends on 12)

The method of claim 12, wherein the other data comprises data for a read error handling operation.

### Claim 15 (depends on 12)

The method of claim 12, wherein the other data comprises a mapping table.

### Claim 16 (depends on 12)

The method of claim 12, wherein the other data comprises data used in an error correction mechanism.

### Claim 17 (depends on 12)

The method of claim 12, wherein the other data is moved from the storage location in the host to another storage location before the requested data is received by the host and stored in the storage location.

### Claim 18 (depends on 12)

The method of claim 12, wherein the other data is overwritten when the requested data is received by the host and stored in the storage location.

### Claim 19

A storage system comprising:
a memory;
means for receiving a read command from a host requesting data stored in the memory; and
means for prior to sending the requested data to the host, storing other data in a storage location in the host allocated for the requested data.

### Claim 20 (depends on 19)

The storage system of claim 19, wherein the storage location in the host is available for use by the storage system without the storage system requesting such use from the host.
