File cache optimization using element prioritization
AssigneeSymantec Corporation
InventorsAvinash Ramesh Patil, Colin Peter Eldridge
Life of this patent
Estimating the term…
Abstract
A medium, system, and method are disclosed for implementing an in-memory inode cache. The cache stores inodes that include respective file metadata. The system includes a replacement module that prioritizes the inodes for replacement according to retention priorities for the inodes. The system also includes a prioritization module that is configured to increase the retention priority of a given inode in the cache in response to detecting a cache hit on the given inode and that the given inode meets one or more longevity criteria.
Claims20
A non-transitory computer-readable storage medium storing program instructions executable by a computer system to implement:
- an in-memory inode cache that stores inodes that include respective file metadata;
- a replacement module that prioritizes inodes for replacement according to retention priorities for the inodes;
- and
- a prioritization module that increases the retention priority of a given inode in the cache in response to detecting a cache hit on the given inode and determining that the given inode meets one or more longevity criteria.
A method comprising:
- a computer system implementing an inode cache in a memory of the computer system, wherein the inode cache includes entries corresponding to inodes that store respective file metadata;
- the computer system prioritizing inodes within the cache for repurposing according to respective retention priorities associated with the inodes;
- and
- the computer system increasing the respective retention priority of a given inode within the cache in response to detecting a cache hit on the given inode and determining that the given inode meets one or more longevity criteria.
A computer system comprising:
- a processor;
- a memory coupled to the processor, the memory storing program instructions executable by a computer system to implement:
- an in-memory inode cache including inodes that store respective file metadata;
- a replacement module that selects an inode for replacement using respective retention priority values for cache inodes;
- and
- a prioritization module that increases the respective retention priority value of a given inode in response to detecting a cache hit on the given inode and determining that the given inode is free.
Dependencies are inferred from the claim text.