US 11,941,273 B2
Variable capacity Zone Namespace (ZNS) flash storage data path
Oleg Kragel, San Jose, CA (US); Vijay Sivasankaran, Dublin, CA (US); Mikhail Palityka, Oakville (CA); and Lawrence Vazhapully Jacob, Folsom, CA (US)
Assigned to Western Digital Technologies, Inc., San Jose, CA (US)
Filed by Western Digital Technologies, Inc., San Jose, CA (US)
Filed on May 12, 2022, as Appl. No. 17/743,295.
Prior Publication US 2023/0367500 A1, Nov. 16, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/064 (2013.01) [G06F 3/0607 (2013.01); G06F 3/0635 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
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.