US 12,235,775 B2
Using a transient cache list and prolonged cache list to manage tracks in cache based on a demotion hint with a track access request
Beth Ann Peterson, Tucson, AZ (US); Lokesh Mohan Gupta, Tucson, AZ (US); Kyler A. Anderson, Sahuarita, AZ (US); Mark A. Lehrer, Poughkeepsie, NY (US); and Christopher Daniel Filachek, Lagrangeville, NY (US)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Mar. 7, 2023, as Appl. No. 18/179,901.
Prior Publication US 2024/0303206 A1, Sep. 12, 2024
Int. Cl. G06F 12/121 (2016.01); G06F 12/14 (2006.01)
CPC G06F 12/1483 (2013.01) [G06F 12/121 (2013.01); G06F 2212/1021 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A computer program product for managing tracks in a storage in a cache, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that when executed performs operations, the operations comprising:
staging a track into the cache in response to receiving a request for the track;
determining whether the request provides a demotion hint indicating one of immediate demotion and accelerated demotion;
indicating the track, in the cache, in a transient cache list in response to determining that the request provides the demotion hint of one of the accelerated demotion and the immediate demotion, wherein the track in the transient cache list having the demotion hint of the accelerated demotion remains in the cache to return to a subsequent read request;
indicating the track, in the cache, in a prolonged cache list in response to determining that the request does not provide the demotion hint; and
removing the track from the transient cache list and demoting the track from the cache in response to receiving complete for returning the track to the request and the demotion hint of the immediate demotion was indicated for the track.