Method and device for cache management
AssigneeEMC IP Holding Company LLC
InventorsLifeng Yang, Ruiyong Jia, Liam Xiongcheng Li, Hongpo Gao, Xinlei Xu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to a method and a device for cache management. The method includes: in response to receiving a write request for a cache logic unit, determining whether a first cache space of a plurality of cache spaces associated with the cache logic unit is locked; in response to the first cache space being locked, obtaining a second cache space from the plurality of cache spaces, the second cache space being different from the first cache space and being in an unlocked state; and performing, in the second cache space, the write request for the cache logic unit.
Claims20
A method for cache management, comprising:
- in response to receiving a write request for a cache logic unit, determining whether a first cache space of a plurality of cache spaces associated with the cache logic unit is locked;
- in response to the first cache space being locked, obtaining a second cache space from the plurality of cache spaces, the second cache space being different from the first cache space and being in an unlocked state;
- and
- performing, in the second cache space, the write request for the cache logic unit.
A device for cache management, comprising:
- at least one processing unit;
- and
- at least one memory coupled to the at least one processing unit and storing instructions executed by the at least one processing unit, the instructions when executed by the at least one processing unit causing the device to execute acts, the acts comprising:
- in response to receiving a write request for a cache logic unit, determining whether a first cache space of a plurality of cache spaces associated with the cache logic unit is locked;
- in response to the first cache space being locked, obtaining a second cache space from the plurality of cache spaces, the second cache space being different from the first cache space and being in an unlocked state;
- and
- performing, in the second cache space, the write request for the cache logic unit.
A computer program product for cache management, the computer program product comprising:
- a non-transitory computer readable medium encoded with computer executable code, wherein the code is configured for the execution of:
- in response to receiving a write request for a cache logic unit, determining whether a first cache space of a plurality of cache spaces associated with the cache logic unit is locked;
- in response to the first cache space being locked, obtaining a second cache space from the plurality of cache spaces, the second cache space being different from the first cache space and being in an unlocked state;
- and
- performing, in the second cache space, the write request for the cache logic unit.
Dependencies are inferred from the claim text.