# US 2021/0081330 A1 · Non-Sequential Zoned Namespaces

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

- Number: US 2021/0081330 A1
- Document ID: US20210081330A1
- Status: Published application
- Kind: A1
- Application number: 16/703,643
- Filed: 2019-12-04
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Alan D. BENNETT; Matias BJORLING; Daniel L. HELMICK
- Web page: https://patentgrep.com/patent/US20210081330A1

## CPC

- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/1081: for peripheral access to main memory, e.g. direct memory access [DMA]
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1016: Performance improvement
- G06F 2212/1056: Simplification
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure generally relates to methods of operating storage devices. A controller of the storage device is configured to retrieve a first command to write data to one or more first logical blocks of a first zone, and direct memory access (DMA) read and write the data associated with the first command to the first logical blocks. The first logical blocks are between a zone starting point of the first zone and a zone capacity of the first zone. The controller is configured to retrieve a second command to write data to one or more second logical blocks of the first zone, and DMA read and write the data associated with the second command to the second logical blocks. The second logical blocks are between the zone starting and the zone capacity of the first zone, and the first logical blocks are non-sequential to the second logical blocks.

## Claims

### Claim 1

A storage device, comprising:
a media unit, wherein a capacity of the media unit is divided into a plurality of zones, each zone comprising a plurality of logical blocks; and
a controller coupled to the media unit, the controller configured to:
retrieve a first command to write data to a first zone and direct memory access (DMA) read data associated with the first command;
identify one or more first logical blocks of the first zone to write the data associated with the first command to, wherein the one or more first logical blocks are between a zone starting logical block address of the first zone and a zone capacity of the first zone;
retrieve a second command to write data to the first zone and DMA read data associated with the second command; and
identify one or more second logical blocks of the first zone to write the data associated with the second command to, wherein the one or more second logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein the one or more second logical blocks are spaced from the one or more first logical blocks by one or more empty logical blocks.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the controller is further configured to:
write the data associated with the first command prior to retrieving the second command to write data; and
write the data associated with the second command after identifying one or more second logical blocks of the first zone.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the controller is further configured to:
return a first completion entry to a completion queue of a host device after writing the data associated with the first command; and
return a second completion entry to the completion queue of the host device after writing the data associated with the second command.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the controller is further configured to:
update one or more tracking tables after writing the data associated with the first command to indicate that the one or more first logical blocks are unavailable to write data associated with subsequent commands to after returning the first completion entry; and
update the one or more tracking tables after writing the data associated with the second command to indicate that the one or more second logical blocks are unavailable to write data associated with subsequent commands to after returning the second completion entry.

### Claim 5 (depends on 4)

The storage device of claim 4, wherein the one or more tracking tables comprise a first tracking table stored in the storage device and a second tracking table stored in the host device.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein the host device selects the one or more second blocks for storing the data associated with the second command using the second tracking table.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein a host device selects the one or more first blocks for storing the data associated with the first command.

### Claim 8

A storage device, comprising:
a media unit, wherein a capacity of the media unit is divided into a plurality of zones, each zone comprising a plurality of logical blocks; and
a controller coupled to the media unit, the controller configured to:
retrieve a first command to write data to one or more first logical blocks in a first zone, wherein the one or more first logical blocks are between a zone starting logical block address of the first zone and a zone capacity of the first zone;
write the data associated with the first command to the one or more first logical blocks of the first zone and to a first location in the media unit;
retrieve a second command to write data to one or more second logical blocks in the first zone, wherein the one or more second logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein the one or more second logical blocks are non-sequential to the first one or more logical blocks; and
write the data associated with the second command to the one or more second logical blocks of the first zone and to a second location in the media unit, the second location being located sequential to the first location.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to:
retrieve a third command to write data to one or more third logical blocks in the first zone, wherein the one or more third logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein the one or more third logical blocks are non-sequential to the one or more second logical blocks; and
write the data associated with the third command to the one or more third logical blocks of the first zone and to a third location in the media unit, the third location being located sequential to the second location.

### Claim 10 (depends on 8)

The storage device of claim 8, wherein the data associated with the second command is written to two or more second logical blocks, and wherein the two or more second logical blocks are non-sequential to one another.

### Claim 11 (depends on 8)

The storage device of claim 8, wherein a host device selects the one or more first blocks for storing the data associated with the first command and the one or more second logical blocks for storing the data associated with the second command.

### Claim 12 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to:
return a first completion entry to a completion queue of a host device after writing the data associated with the first command; and
update one or more tracking tables after writing the data associated with the first command to indicate that the one or more first logical blocks are unavailable to write data associated with subsequent commands to.

### Claim 13 (depends on 12)

The storage device of claim 12, wherein at least one of the one or more tracking tables is stored in the media unit of the storage device.

### Claim 14

A storage system, comprising:
a host device, the host device comprising a first tracking table; and
a storage system, wherein the storage system comprises:
a media unit, wherein a capacity of the media unit is divided into a plurality of zones, each zone comprising a plurality of logical blocks, and wherein the media unit stores a second tracking table; and
a controller coupled to the media unit, the controller configured to:
retrieve a first command to write data to one or more first logical blocks in a first zone and DMA read data associated with the first command, wherein the one or more first logical blocks are between a zone starting logical block address of the first zone and a zone capacity of the first zone;
write the data associated with the first command to the one or more first logical blocks of the first zone;
update the first and second tracking tables to indicate that the one or more first logical blocks are unavailable to write data associated with subsequent commands to;
retrieve a second command to write data to one or more second logical blocks in the first zone and DMA read data associated with the second command, wherein the one or more second logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein at least one of the one or more second logical blocks are non-sequential to the one or more first logical blocks;
write the data associated with the second command to the one or more second logical blocks of the first zone; and
update the first and second tracking tables to indicate that the one or more second logical blocks are unavailable to write data associated with subsequent commands to.

### Claim 15 (depends on 14)

The storage system of claim 14, wherein the controller is further configured to:
retrieve a third command to write data to one or more third logical blocks in the first zone and DMA read data associated with the third command, wherein the one or more third logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein the one or more third logical blocks are non-sequential to at least the one or more second logical blocks;
write the data associated with the third command to the one or more third logical blocks of the first zone; and
update the first and second tracking tables to indicate that the one or more third logical blocks are unavailable to write data associated with subsequent commands to.

### Claim 16 (depends on 14)

The storage system of claim 14, wherein the controller is further configured to:
retrieve a third command to write data to two or more third logical blocks in the first zone and DMA read data associated with the third command, wherein the two or more third logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein at least one of the two or more third logical blocks is disposed between the one or more first logical blocks and the one or more second logical blocks;
write the data associated with the third command to the two or more third logical blocks of the first zone; and
update the first and second tracking tables to indicate that the two or more third logical blocks are unavailable to write data associated with subsequent commands to.

### Claim 17 (depends on 14)

The storage system of claim 14, wherein the controller is further configured to:
retrieve a third command to write data to two or more third logical blocks in the first zone and DMA read data associated with the third command, wherein the two or more third logical blocks are between the zone starting logical block address of the first zone and the zone capacity of the first zone, and wherein at least one of the two or more third logical blocks are sequentially located before the first one or more logical blocks or the one or more second logical blocks;
write the data associated with the third command to the two or more third logical blocks of the first zone; and
update the first and second tracking tables to indicate that the two or more third logical blocks are unavailable to write data associated with subsequent commands to.

### Claim 18 (depends on 14)

The storage system of claim 14, wherein the host device selects the one or more first blocks for storing the data associated with the first command and the one or more second logical blocks for storing the data associated with the second command based on the first tracking table.

### Claim 19 (depends on 18)

The storage system of claim 18, wherein the controller is further configured to return a first completion entry to a completion queue of the host device after writing the data associated with the first command, and wherein the host device updates the first tracking table after receiving the first completion entry.

### Claim 20 (depends on 14)

The storage system of claim 14, wherein the data associated with the second command is written to two or more second logical blocks, and wherein the two or more second logical blocks are spaced from one another by one or more empty logical blocks or more first logical blocks.
