A computer program product for managing data in a cache system comprising a first cache, a second cache, and a storage device, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising:
- maintaining in the first cache modified and unmodified tracks subject to Input/Output (I/O) requests;
- demoting modified and unmodified tracks from the first cache;
- promoting the unmodified tracks demoted from the first cache to the second cache;
- destaging modified tracks demoted from the first cache to the storage device, bypassing the second cache;
- and
- discarding unmodified tracks demoted from the second cache.