# US 2019/0317900 A1 · Invalidation data area for cache

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317900 A1
- Document ID: US20190317900A1
- Status: Published application
- Kind: A1
- Application number: 16/455,635
- Filed: 2019-06-27
- Published: 2019-10-17
- Earliest claimed: 2014-06-26
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Pulkit MISRA
- Web page: https://patentgrep.com/patent/US20190317900A1

## CPC

- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 12/0815: Cache consistency protocols
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 12/121: using replacement algorithms
- G06F 2212/1024: Latency reduction
- G06F 2212/1041: Resource optimization
- G06F 2212/60: Details of cache memory
- G06F 2212/62: Details of cache specific to multiprocessor cache arrangements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to caches, methods, and systems for using an invalidation data area. The cache can include a journal configured for tracking data blocks, and an invalidation data area configured for tracking invalidated data blocks associated with the data blocks tracked in the journal. The invalidation data area can be on a separate cache region from the journal. A method for invalidating a cache block can include determining a journal block tracking a memory address associated with a received write operation. The method can also include determining a mapped journal block based on the journal block and on an invalidation record. The method can also include determining whether write operations are outstanding. If so, the method can include aggregating the outstanding write operations and performing a single write operation based on the aggregated write operations.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for recovery of a cache, the method comprising:
determining an initial reconstruction of the cache based on a journal of the cache, wherein one or more journal blocks are associated with the journal, and wherein the one or more journal blocks are represented by one or more mapped journal blocks associated with an invalidation record in an invalidation data area of the cache;
for each of the one or more mapped journal blocks,
determining whether a corresponding data block tracked in the journal is valid, based on the mapped journal block; and
if the corresponding data block is determined not to be valid, evicting the corresponding data block from the initial reconstruction of the cache.

### Claim 22 (depends on 21)

The method of claim 21, wherein determining the initial reconstruction comprises recovering data blocks and metadata describing the data blocks, wherein the recovered data blocks and metadata are recovered from the journal.

### Claim 23 (depends on 21)

The method of claim 21, wherein determining whether the corresponding data block tracked in the journal is valid comprises comparing metadata describing the corresponding data block tracked in the journal with metadata describing the corresponding data block tracked in the mapped journal block.

### Claim 24 (depends on 23)

The method of claim 23, wherein comparing the metadata comprises comparing a first memory address and first index for the corresponding data block tracked in the journal with a second memory and second index tracked in the mapped journal block.

### Claim 25 (depends on 21)

The method of claim 21, wherein the invalidation data area is on a separate region of the cache from the journal.

### Claim 26 (depends on 21)

The method of claim 21,
wherein the cache comprises a content locality cache; and
wherein the journal tracks at least one of associated data blocks and independent data blocks in the content locality cache.

### Claim 27

A system for recovery of a cache, the system comprising:
a cache comprising a journal and an invalidation data area; and
a means for:
determining an initial reconstruction of the cache based on the journal of the cache, wherein one or more journal blocks are associated with the journal, and wherein the one or more journal blocks are represented by one or more mapped journal blocks associated with an invalidation record in the invalidation data area of the cache;
for each of the one or more mapped journal blocks,
determining whether a corresponding data block tracked in the journal is valid, based on the mapped journal block; and
if the corresponding data block is determined not to be valid, evicting the corresponding data block from the initial reconstruction of the cache.

### Claim 28 (depends on 27)

The system of claim 27, wherein determining the initial reconstruction comprises recovering data blocks and metadata describing the data blocks, wherein the recovered data blocks and metadata are recovered from the journal.
