-
公开(公告)号:US20180129421A1
公开(公告)日:2018-05-10
申请号:US15821119
申请日:2017-11-22
Applicant: NETAPP, INC.
Inventor: Somasundaram Krishnasamy , Brian Mckean , Yanling Qi
IPC: G06F3/06
Abstract: A method and system for synchronizing caches after reboot are described. In a cached environment, a host server stores a cache counter associated with the cache, which can be stored in the cache itself or in another permanent storage device. When data blocks are written to the cache, metadata for each data block is also written to the cache. This metadata includes a block counter based on a value of the cache counter. After a number of data operations are performed in the cache, the value of the cache counter is updated. Then, each data block is selectively updated based on a comparison of the value of the cache counter with a value of the block counter in the metadata for the corresponding data block.