摘要 |
A system and method for clearing data from a cache is disclosed. The method may include the steps of receiving data at a cache of a self-caching storage device, determining a cost-effectiveness of flushing a logical block from the cache and, if the current available capacity of the cache is greater than a minimum capacity parameter, only flushing the logical block if a predetermined criteria is met, regardless of whether the storage device is idle. The system may include a cache storage, a main storage and a controller configured to only flush a logical block from the cache if a determined cost effectiveness meets a predetermined criteria when the current available capacity of the cache is greater than a minimum capacity parameter. |