# US 2012/0233408 A1 · Intelligent write caching for sequential tracks

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

- Number: US 2012/0233408 A1
- Document ID: US20120233408A1
- Status: Published application
- Kind: A1
- Application number: 13/478,189
- Filed: 2012-05-23
- Published: 2012-09-13
- Earliest claimed: 2010-09-29
- Assignees: International Business Machines Corporation
- Inventors: Brent C. BEARDSLEY; Michael T. BENHASE; Lokesh M. GUPTA; Joseph S. HYDE, II; Sonny E. WILLIAMS
- Web page: https://patentgrep.com/patent/US20120233408A1

## CPC

- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Write caching for sequential tracks is performed by a processor device in a computing storage environment for destaging data from nonvolatile storage (NVS) to a storage unit. If a first track is determined to be sequential, and an earlier track is also determined to be sequential, a temporal bit associated with the earlier track is cleared to allow for destage of data of the earlier track. If a temporal bit for one of a plurality of additional tracks in one of a plurality of strides in a modified cache is determined to be not set, a stride associated with the one of the plurality of additional tracks is selected for a destage operation. If the NVS exceeds a predetermined storage threshold, a predetermined one of the plurality of strides is selected for the destage operation.

## Claims

### Claim 1

In a computing storage environment for destaging data from nonvolatile storage (NVS) to a storage unit, a method for write caching for sequential tracks by a processor device, comprising:
if a first track is determined to be sequential, and an earlier track is also determined to be sequential, clearing a temporal bit associated with the earlier track to allow for destage of data of the earlier track; and
if a temporal bit for one of a plurality of additional tracks in one of a plurality of strides in a modified cache is determined to be not set, selecting a stride associated with the one of the plurality of additional tracks for a destage operation, wherein if the NVS exceeds a predetermined storage threshold, selecting a predetermined one of the plurality of strides for the destage operation.

### Claim 2 (depends on 1)

The method of claim 1, further including examining the first track to determine if the first track is sequential.

### Claim 3 (depends on 1)

The method of claim 1, wherein clearing the temporal bit associated with the earlier track is performed pursuant to a host write request.

### Claim 4 (depends on 1)

The method of claim 1, wherein selecting the stride associated with the one of the plurality of additional tracks is performed pursuant to a destage scan operation.

### Claim 5 (depends on 1)

The method of claim 1, wherein the earlier track is computed by obtaining (N-X) tracks less than the first track, where N is the track number and X is a predetermined number.

### Claim 6 (depends on 4)

The method of claim 4, further including pursuant to selecting the predetermined one of the plurality of strides for the destage operation, re-dispatching a thread performing the destage scan operation.

### Claim 7 (depends on 1)

The method of claim 1, wherein selecting the stride associated with the one of the plurality of additional tracks for the destage operation is performed for each of the plurality of strides in the modified cache.
