12235754

Victim Zone Selection for Zone Compaction During Garbage Collection in Zns Devices

PublishedFebruary 25, 2025
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
16 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A storage device, comprising: a non-volatile memory including a plurality of first blocks, a plurality of second blocks, and a plurality of third blocks; and a controller configured to: allocate a first sub-drive and a second sub-drive in the non-volatile memory, wherein the first sub-drive includes a first plurality of superblocks for storing data overwrites associated with a zoned namespace (ZNS) and for storing other data associated with a namespace other than the ZNS, the first plurality of superblocks including the first superblock, wherein the second sub-drive includes a second plurality of superblocks for storing sequential data associated with the ZNS, the second plurality of superblocks in the second sub-drive including the second superblock and the third superblock; create a first superblock including the first blocks, a second superblock including the second blocks; determine whether a total quantity of data in the first sub-drive exceeds a threshold percentage of a capacity of the non-volatile memory, the total quantity including at least the first quantity and the second quantity; relocate, during a first garbage collection for a first zone prior to a second garbage collection for a second zone, first data overwrites associated with the first zone from the first superblock in the first sub-drive to the second superblock in the second sub-drive in response to the total quantity exceeding the threshold percentage, the first zone including a first range of logical addresses, and the second zone including a second range of logical addresses different than the first range of logical addresses; and relocate, during the second garbage collection, the second data overwrites from the first superblock in the first sub-drive to the third superblock in the second sub-drive in response to the total quantity of the data in the first sub-drive continuing to exceed the threshold percentage after the first garbage collection, wherein the first garbage collection occurs prior to the second garbage collection in response to a first quantity of the first data overwrites in the first superblock being larger than a second quantity of second data overwrites associated with the second zone in the first superblock.

2

2. The storage device of claim 1, wherein the controller is further configured to: map the first zone to a first zone group associated with the first quantity of the first data overwrites; and map the second zone to a second zone group associated with the second quantity of the second data overwrites; wherein the first garbage collection occurs for the first zone in the first zone group prior to the second garbage collection for the second zone in the second zone group in response to the first quantity of the first data overwrites being larger than the second quantity of the second data overwrites.

3

3. The storage device of claim 2, wherein the first zone group is associated with a first range of data overwrite percentages and the second zone group is associated with a second range of data overwrite percentages, the first range including larger data overwrite percentages than the second range.

4

4. The storage device of claim 3, wherein the controller is further configured to: perform, in response to the first range including the larger data overwrite percentages than the second range, first respective garbage collections for at least one zone in the first zone group prior to performing second respective garbage collections for one or more zones in the second zone group.

5

5. The storage device of claim 1, wherein the controller is further configured to: relocate additional data overwrites respectively associated with additional zones from the first sub-drive to the second sub-drive until the total quantity of the data in the first sub-drive does not exceed the threshold percentage.

6

6. The storage device of claim 1, wherein the non-volatile memory further includes a plurality of fourth blocks; and wherein the controller is further configured to: create a fourth superblock including the fourth blocks, the second plurality of superblocks in the second sub-drive further including the fourth superblock; write sequential data associated with the second zone to the fourth superblock; receive a zone finish command associated with the second zone while the fourth superblock is partially filled with data; and relocate, during the second garbage collection, the second data overwrites from the first superblock and the sequential data from the fourth superblock to the third superblock after receiving the zone finish command.

7

7. The storage device of claim 6, wherein in response to the zone finish command, the fourth superblock includes a smaller valid page count (VPC) associated with the second zone than a VPC associated with the first zone.

8

8. The storage device of claim 7, wherein the second garbage collection occurs in response to the first quantity of the first data overwrites being larger than the second quantity of the second data overwrites at a time that the second zone is associated with the smaller VPC.

9

9. A storage device, comprising: a non-volatile memory including a plurality of first blocks and a plurality of second blocks; and a controller configured to: create a first superblock including the first blocks and a second superblock including the second blocks; map a first zone to a first zone group associated with a first quantity of first data overwrites and a second zone to a second zone group associated with a second quantity of second data overwrites, the first zone including a first range of logical addresses, and the second zone including a second range of logical addresses different than the first range of logical addresses; determine whether the first quantity of the first data overwrites associated with the first zone in the first superblock is larger than the second quantity of the second data overwrites associated with the second zone in the first superblock; and relocate, during first respective garbage collections for the first zone group prior to second respective garbage collections for the second zone group, the first data overwrites from the first superblock to the second superblock, wherein the first respective garbage collections occur prior to the second respective garbage collections in response to the determination, wherein the second zone is associated with a smaller valid page count (VPC) than a VPC associated with the first zone.

10

10. The storage device of claim 9, wherein the first zone group is associated with a first range of data overwrite percentages and the second zone group is associated with a second range of data overwrite percentages, the first respective garbage collections occurring prior to the second respective garbage collections in response to the first range including larger data overwrite percentages than the second range.

11

11. The storage device of claim 9, wherein the controller is further configured to: allocate a first sub-drive and a second sub-drive in the non-volatile memory; wherein the first sub-drive includes a first plurality of superblocks for storing data overwrites associated with a zoned namespace (ZNS), the first plurality of superblocks including the first superblock; and wherein the second sub-drive includes a second plurality of superblocks for storing sequential data associated with the ZNS, the second plurality of superblocks including the second superblock.

12

12. The storage device of claim 11, wherein the controller is further configured to: determine whether a total quantity of data in the first sub-drive exceeds a threshold percentage of a capacity of the non-volatile memory, the total quantity including at least the first quantity and the second quantity; wherein the first respective garbage collections occur prior to the second respective garbage collections in response to the total quantity exceeding the threshold percentage.

13

13. The storage device of claim 9, wherein the first respective garbage collections occur prior to the second respective garbage collections at a time that the second zone is associated with the smaller VPC.

14

14. A storage device, comprising: a non-volatile memory including a plurality of first blocks, a plurality of second blocks, and a plurality of third blocks; and a controller configured to: create a first superblock including the first blocks, a second superblock including the second blocks, and a third superblock including the third blocks; determine whether a first quantity of first data overwrites associated with a first zone is larger than a second quantity of second data overwrites associated with a second zone, the first zone including a first range of logical addresses, and the second zone including a second range of logical addresses different than the first range of logical addresses; relocate, during a first garbage collection for the first zone prior to a second garbage collection for the second zone, the first data overwrites from the first superblock and sequential data associated with the first zone from the third superblock to the second superblock, wherein the first garbage collection occurs prior to the second garbage collection in response to the determination, wherein the second zone is associated with a smaller valid page count (VPC) than a VPC associated with the first zone.

15

15. The storage device of claim 14, wherein the controller is further configured to: allocate a first sub-drive and a second sub-drive in the non-volatile memory; wherein the first sub-drive includes a first plurality of superblocks for storing data overwrites associated with a zoned namespace (ZNS), the first plurality of superblocks including the first superblock; wherein the second sub-drive includes a second plurality of superblocks for storing sequential data associated with the ZNS, the second plurality of superblocks including the second superblock and the third superblock; and determine whether a total quantity of data in the first sub-drive exceeds a threshold percentage of a capacity of the non-volatile memory, the total quantity including at least the first quantity and the second quantity; wherein the first garbage collection occurs prior to the second garbage collection in response to the total quantity exceeding the threshold percentage.

16

16. The storage device of claim 14, wherein the first garbage collection occurs prior to the second garbage collection at a time that the second zone is associated with the smaller VPC.

Patent Metadata

Filing Date

Unknown

Publication Date

February 25, 2025

Inventors

Navin KOCHAR
Sampath Kumar RAJA MURTHY
Suhaib Mohammed ADHONI

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “VICTIM ZONE SELECTION FOR ZONE COMPACTION DURING GARBAGE COLLECTION IN ZNS DEVICES” (12235754). https://patentable.app/patents/12235754

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.