US 11,989,423 B2
Techniques for zoned namespace (ZNS) storage using multiple zones
Peng Xu, Los Angeles, CA (US); Sheng Qiu, Los Angeles, CA (US); Chaohong Hu, Los Angeles, CA (US); and Kyoungryun Bae, Los Angeles, CA (US)
Assigned to LEMON INC., Grand Cayman (KY)
Filed by Lemon Inc., Grand Cayman (KY)
Filed on Nov. 16, 2022, as Appl. No. 18/056,083.
Prior Publication US 2023/0075437 A1, Mar. 9, 2023
Int. Cl. G06F 3/06 (2006.01); G06F 12/0802 (2016.01)
CPC G06F 3/0619 (2013.01) [G06F 3/064 (2013.01); G06F 3/0679 (2013.01); G06F 12/0802 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for zoned namespace (ZNS) storage using multiple zones, comprising:
storing, in a first zone cache, one or more logical blocks corresponding to a data chunk;
writing, for each logical block in the data chunk, a cache element of a cache entry that points to the logical block in the first zone cache, wherein the cache entry includes multiple cache elements corresponding to the multiple logical blocks of the data chunk;
writing, for the cache entry, a table entry in a mapping table that points to the cache entry; and
when a storage policy is triggered for the cache entry:
writing the multiple logical blocks, pointed to by each cache element of the cache entry, as contiguous logical blocks in an isolation block for the data chunk in a second zone stream; and
updating the table entry to point to the isolation block in the second zone stream.