-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels