CPC G06F 11/1469 (2013.01) [G06F 12/0815 (2013.01); G06F 2201/82 (2013.01); G06F 2212/1021 (2013.01)] | 20 Claims |
1. A memory system comprising:
non-volatile memory (NVM) device for storing metadata in a metadata memory region, the NVM device further comprising a shadow tracker memory region; and
a memory controller coupled to the NVM device for recovering a metadata cache comprising a plurality of cache blocks and configured to:
persistently track a memory address of metadata in each block of the metadata cache in the shadow tracker memory region;
when a cache miss occurs in a block of the metadata cache, identify the block with the cache miss as a victim block within the metadata cache in which the miss occurs;
determine a memory address of the victim block in the metadata cache and store the memory address of the victim block in the shadow tracker memory region in a location corresponding to the victim block; and
insert a new cache block at the address in the metadata cache;
wherein the shadow tracker memory region correctly identifies a memory address for each cache block in the metadata cache.
|