Method and system for caching data in a storgae system
A method for caching data in a storage system involves receiving a request for a first datum stored on a storage disk, retrieving the first datum from the storage disk when a copy of the first datum is not stored on an asymmetric cache device (ACD), storing a first copy of the first datum in a main memory, updating a list of data to include the first datum, storing, prior to any data being evicted from the main memory, a second copy of the first datum on the ACD, and evicting the first copy of the first datum from the main memory when a first copy of a second datum is designated for storing in the main memory and the main memory is full and the first datum is at the tail of the list of data.