Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

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
@byteduck byteduck force-pushed the master branch 5 times, most recently from 1e13d14 to 6f9f442 Compare September 9, 2024 06:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kernel The issue is about the kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant