I'm a bit lost in how kernel caches work in general, so generic cache information is fine too, but I'm specifically working on FUSE.
So, I read that the kernel looks up a file/directory via VFS using dentries and inodes. There are dcaches and inode caches.
That's all I understand so far, and I'm struggling with any deeper information.
Any information is fine, but here are some specific questions.
For example, you have a read function in FUSE that just directly calls the read libc function to a specific path.
- Are there any FUSE-specific caches in works there?
- If we assume the read path is inside an ext4 filesystem, then are ext4-specific caches being used?
- What happens when the FUSE
readfunction stops calling libcreadduring runtime? Are caches going to affect it at all?