CPC G06F 3/0619 (2013.01) [G06F 3/064 (2013.01); G06F 3/0679 (2013.01); G06F 12/0802 (2013.01)] | 20 Claims |
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.
|