# US 2021/0334203 A1 · Condensing Logical to Physical Table Pointers in SSDs Utilizing 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/0334203 A1
- Document ID: US20210334203A1
- Status: Published application
- Kind: A1
- Application number: 16/861,068
- Filed: 2020-04-28
- Published: 2021-10-28
- Earliest claimed: 2020-04-28
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Daniel L. HELMICK; Liam PARKER; Alan D. BENNETT; Horst-Christoph Georg HELLWIG
- Web page: https://patentgrep.com/patent/US20210334203A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0882: Page mode
- G06F 12/1054: {the data cache being concurrently physically addressed}
- G06F 13/1668: {Details of memory controller}
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- 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. The storage device comprises a controller, random-access memory (RAM), and a NVM unit, where in the NVM unit comprises a plurality of zones. The RAM unit comprises a logical to physical address (L2P) table for the plurality of zones. The L2P table comprises pointers that are associated with a logical block address (LBA) and the physical location of the data stored in the NVM. The L2P table comprises one pointer per erase block or zone. When a command is received to read data within the NVM, the controller reads the L2P table to determine the LBA and associated pointer of the data. The controller can then determine which zone or erase block the data is stored in, and calculates various offsets of wordlines, pages, and page addresses to find the exact location of the data in the NVM.

## Claims

### Claim 1

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, and wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks;
a volatile memory unit, wherein the volatile memory unit stores a first logical to physical address table, the first logical to physical address table associating logical block addresses of data to a physical address of where the data is stored in the non-volatile storage unit; and
a controller coupled to the non-volatile storage unit and the volatile memory unit, wherein the controller is configured to:
receive a first read command to read first data stored in the non-volatile storage unit;
read a first pointer in the first logical to physical table associated with the first data to determine the first data is stored in a first erase block of a first zone of the plurality of zones;
determine an offset of pages and wordlines within the first erase block to find the first data; and
read the first data.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the volatile memory unit stores a second logical to physical table.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the first logical to physical table is for the plurality of zones and the second logical to physical table is for a non-zoned namespace.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the controller is configured to track which erase blocks are within each zone.

### Claim 5 (depends on 1)

The storage device of claim 1, wherein the first logical to physical table comprises a pointer for each erase block within each zone.

### Claim 6 (depends on 1)

The storage device of claim 1, wherein determining the offset of pages and wordlines within the first erase block comprises scanning the logical block addresses stored in the first logical to physical table by page size and by wordline size.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein data for each zone is written to each erase block of the zone sequentially.

### Claim 8

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, and wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks, and each of the erase blocks comprising a plurality of wordlines and pages;
a volatile memory unit, wherein the volatile memory unit stores a first logical to physical address table, the first logical to physical address table associating logical block addresses of data to a physical address of where the data is stored in the non-volatile storage unit; and
a controller coupled to the non-volatile storage unit and the volatile memory unit, wherein the controller is configured to:
write first data associated with one or more first commands to a first erase block in a first zone of the plurality of zones;
update the first logical to physical address table stored in the volatile memory unit, wherein updating the first logical to physical table comprises associating a pointer to the first zone and the first data;
receive a read command to read the first data;
identify a first logical block address of the first data;
read the pointer associated with the first zone to determine the first data is stored within the first zone;
calculate an offset of erase blocks to determine the first data is stored in the first erase block; and
calculate an offset of pages and wordlines within the first erase block to find the first data.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to:
write second data associated with one or more second commands sequentially to a second erase block in the first zone;
update the first logical to physical address table stored in the volatile memory unit, wherein updating the logical to physical table comprises associating the pointer to the first zone and the second data;
identify a second logical block address of the second data;
read the pointer associated with the first zone to determine the second data is stored within the first zone;
calculate an offset of erase blocks to determine the second data is stored in the second erase block; and
calculate an offset of pages and wordlines within the second erase block to find the second data.

### Claim 10 (depends on 8)

The storage device of claim 8, wherein the first logical to physical table stores one pointer per zone, and wherein each pointer points to or indicates a first or starting physical address of each zone.

### Claim 11 (depends on 8)

The storage device of claim 8, wherein the non-volatile memory further comprises a non-zoned namespace, and wherein the volatile memory unit stores a second logical to physical address table for the non-zoned namespace.

### Claim 12 (depends on 8)

The storage device of claim 8, wherein calculating the offset of erase blocks comprises scanning the logical block addresses stored in the first logical to physical table by erase block size, and wherein calculating the offset of pages and wordlines within the first erase block comprises scanning the logical block addresses stored in the first logical to physical table by page size and by wordline size.

### Claim 13 (depends on 8)

The storage device of claim 8, wherein the volatile memory unit stores a third logical to physical table.

### Claim 14 (depends on 13)

The storage device of claim 13, wherein the first logical to physical table comprises pointers for the first zone and one or more first zones having a first capacity and the third logical to physical table comprises pointers for one or more second zones having a second capacity different than the first capacity.

### Claim 15

A storage device, comprising:
a non-volatile storage unit, wherein a capacity of the non-volatile storage unit is divided into a plurality of zones, and wherein the non-volatile storage unit comprises a plurality of dies, each of the plurality of dies comprising a plurality of erase blocks;
a volatile memory unit, wherein the volatile memory unit stores a first logical to physical address table, the first logical to physical address table associating logical block addresses of data to a physical address of where the data is stored in the non-volatile storage unit;
means for receiving a first read command to read first data stored in the non-volatile storage unit;
means for identifying a first logical block address of the first data;
means for reading a pointer in the first logical to physical table associated with a first zone of the plurality of zones to determine the first data is stored within a first zone of the plurality of zones;
means for calculating an offset of erase blocks to determine the first data is stored in a first erase block of the first zone; and
means for calculating an offset of pages and wordlines within the first erase block to find the first data.

### Claim 16 (depends on 15)

The storage device of claim 15, wherein the means for calculating the offset of erase blocks is configured to scan the logical block addresses stored in the first logical to physical table by erase block size.

### Claim 17 (depends on 15)

The storage device of claim 15, wherein the means for calculating the offset of pages and wordlines is configured to scan the logical block addresses stored in the first logical to physical table by page size and by wordline size.

### Claim 18 (depends on 15)

The storage device of claim 15, wherein the pointer associated with the first zone points to or indicates a first or starting physical address of the first zone.

### Claim 19 (depends on 15)

The storage device of claim 15, wherein the non-volatile memory further comprises a non-zoned namespace, and wherein the volatile memory unit stores a second logical to physical address table for the non-zoned namespace.

### Claim 20 (depends on 15)

The storage device of claim 15, wherein the controller is configured to track which erase blocks are within each zone and how many logical block addresses are within each erase block.
