News for hackers. Stuff that matters.
Re:DwarFS: A fast high compression read-only file system by twicetwice on Sunday November 29, 2020 @04:32PM (#25248281)
If you're talking about the kernel's filesystem cache, wouldn't that cache the compressed files? As far as I understand it userspace caching is necessary to cache uncompressed blocks, since the decompression is (presumably) done in userspace. I definitely could be wrong though, let me know if you're talking about a different kind of kernel caching.

Actually, I guess if DwarFS is a kernel module and decompresses blocks before they hit the kernel's filesystem cache, then the kernel cache would do it? I'm not sure how to tell from the README if DwarFS is a kernel module or not. So I guess I'm just confused and looking to learn -- what kind of kernel caching did you have in mind?

Re:DwarFS: A fast high compression read-only file system by JoshTriplett on Sunday November 29, 2020 @05:26PM (#25248665)
It's using FUSE, and FUSE filesystems still participate in some parts of kernel caching.
Re:DwarFS: A fast high compression read-only file system by twicetwice on Tuesday December 01, 2020 @01:32AM (#25262964)
Thanks, good to know!