Skip to content

Permanent cache section #172

Description

@mraaman

It would be nice to have a permament cache section within the cache. I.e. one could mark certain blocks to never be evicted from the cache. Writeback of dirty blocks could be handled as the non-permanent blocks the only difference would be that these blocks are never removed from the cache.

The configuration of this would probably be the most difficult part.

The use case I have in mind for this would be to put inode blocks from the filesystem into the permanent cache. The Linux kernel will cache inodes in memory but there is no control on whether it remains there. Having them in the cache will prevent the kernel from going out to the backing device and seek for them. It will speed up searching and listing of files etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions