Patent ID: 11941273
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A data storage device comprising:
a memory including a plurality of zones in a Zone Namespace (ZNS); and
a data storage controller including an electronic processor and a data storage controller memory that includes a variable capacity scheme, the electronic processor, when executing the variable capacity scheme, is configured to:
determine whether a special indication is received from a host regarding a particular zone in the ZNS,
delay an association of a final flash block for the particular zone in response determining that to the special indication is received from the host regarding the particular zone in the ZNS,
receive host data from the host for storage in the particular zone,
stage the host data in a staging area in response to receiving the host data from the host,
receive a zone close request regarding the particular zone from the host, and
perform a folding algorithm, the folding algorithm includes
compacting the host data for storage in the particular zone with other host data for storage in other zones into second host data, and
moving the second host data from the staging area to the final flash block that is associated with the particular zone and the other zones.