Performing staging or destaging based on the number of waiting discard scans
AssigneeInternational Business Machines Corporation
InventorsMichael T. Benhase, Lokesh M. Gupta, Matthew J. Kalos
Life of this patent
Estimating the term…
Abstract
A controller receives a request to perform staging or destaging operations with respect to an area of a cache. A determination is made as to whether more than a threshold number of discard scans are waiting to be performed. The controller avoids satisfying the request to perform the staging or the destaging operations or a read hit with respect to the area of the cache, in response to determining that more than the threshold number of discard scans are waiting to be performed.
Claims20
A method, comprising:
- receiving, by a controller, a request to perform staging or &staging operations with respect to an area of a cache;
- determining whether more than a threshold number of discard scans are waiting to be performed;
- and
- in response to determining that more than the threshold number of discard scans are waiting to be performed, avoiding satisfying the request to perform the staging or the destaging operations or a read hit with respect to the area of the cache.
A system coupled to a cache, the system comprising:
- a memory;
- and
- a processor coupled to the memory, wherein the processor performs operations, the operations comprising:
- receiving a request to perform staging or destaging operations with respect to an area of the cache;
- determining whether more than a threshold number of discard scans are waiting to be performed;
- and
- in response to determining that more than the threshold number of discard scans are waiting to be performed, avoiding satisfying the request to perform the staging or the destaging operations or a read hit with respect to the area of the cache.
A computer program product, the computer program product comprising:
- a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations on a controller coupled to a cache, the operations comprising:
- receiving, by the controller, a request to perform staging or destaging operations with respect to an area of a cache;
- determining whether more than a threshold number of discard scans are waiting to be performed;
- and
- in response to determining that more than the threshold number of discard scans are waiting to be performed, avoiding satisfying the request to perform the staging or the destaging operations or a read hit with respect to the area of the cache.
A storage controller coupled to a host, the storage controller comprising:
- a processor;
- and
- a cache coupled to the processor, wherein the storage controller performs operations, the operations comprising:
- receiving a request from the host to perform staging or destaging operations with respect to an area of the cache;
- determining whether more than a threshold number of discard scans are, waiting to be performed;
- and
- in response to determining that more than the threshold number of discard scans are waiting to be performed, avoiding satisfying the request to perform the staging or the destaging operations or a read hit with respect to the area of the cache.
Dependencies are inferred from the claim text.