Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace block-level cache with Inode cache #59

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

byteduck
Copy link
Owner

@byteduck byteduck commented Apr 3, 2023

This replaces the current block-level cache with the already existing Inode cache.

Inodes that extend the CachedFilesystemInode class will use their shared Inode mapping object as cache, so regular file reads and writes will be routed through the shared
mapping as well.

Currently, a few things still need to be fixed:

  • kcache has been removed from /proc/meminfo and libsys will just report it as zero for now
  • I have observed occasional triple faults - this still needs to be debugged
  • Behavior after file truncation needs to be ironed out

@byteduck byteduck added the kernel The issue is about the kernel label Apr 3, 2023
@byteduck byteduck self-assigned this Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel The issue is about the kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant