LWN: Comments on "A general caching filesystem" https://lwn.net/Articles/100321/ This is a special feed containing comments posted to the individual LWN article titled "A general caching filesystem". en-us Fri, 19 Sep 2025 10:42:38 +0000 Fri, 19 Sep 2025 10:42:38 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A general caching filesystem https://lwn.net/Articles/107975/ https://lwn.net/Articles/107975/ jcm xoddam writes:<br> <p> <font class="QuotedText">&gt; This seems to me like a really complicated reimplementation of</font><br> <font class="QuotedText">&gt; virtual memory.</font><br> <p> No it's really not. By virtual memory your are referring to an aspect of VM implementations known as paging, and that in itself only really impacts upon so called ``anonymous memory''. There is a page cache for certain regular filesystems but it's not possible for all filesystems to exploit the page cache to full effect and in any case this patch adds the ability to use a local disk as an additional cache storage for even slower stuff like network mounted filesystems - so the page cache can always sit between this disk and user processes which use it.<br> <p> Jon.<br> <p> Mon, 25 Oct 2004 00:55:30 +0000 Improve "Laptop mode" https://lwn.net/Articles/105648/ https://lwn.net/Articles/105648/ BrucePerens I haven't looked at the CacheFS code yet, but this is what I would like to do with it, or something like it.<p> Put a cache filesystem on a FLASH disk plugged into my laptop. My laptop has a 512M MagicGate card, which looks like a USB disk. Use it to cache all recently read and written blocks from the hard disk, and allow the hard disk to remain spun down most of the time. Anytime the disk has to be spun up, flush any pending write blocks to it. <p>This would be an improvement over "laptop mode" in that it would not require system RAM and could thus be larger, and would not be as volatile as a RAM write cache.<p><i>Bruce</i> Thu, 07 Oct 2004 18:57:31 +0000 A general caching filesystem https://lwn.net/Articles/101912/ https://lwn.net/Articles/101912/ xoddam This seems to me like a really complicated reimplementation of virtual <br> memory. <br> <br> All filesystems already use VM pages for caching, don't they? <br> I'd have thought that attaching backing store to those pages would have <br> been a much simpler task than writing a whole new cache interface. <br> <br> But then I'm not really a filesystem hacker. <br> <br> Tue, 14 Sep 2004 02:13:00 +0000 CacheFS & Security https://lwn.net/Articles/101849/ https://lwn.net/Articles/101849/ AnswerGuy The only difference between accessing a filesystem directly and through CacheFS should be that the CacheFS can store copies of the accessed data on a local block device. In other words that there's a (potentially persistent) footprint of all accesses.<br> <p> Other than that CacheFS should preserve the same permissions semantics as if a given user/host were accessing the backend filesystem/service directly.<br> <p> <p> Mon, 13 Sep 2004 18:49:07 +0000 CacheFS & Security https://lwn.net/Articles/100794/ https://lwn.net/Articles/100794/ hppnq Not knowing anything about CacheFS internals, I would say these are cases of "don't do it, then". ;-) Fri, 03 Sep 2004 19:49:02 +0000 CacheFS & Security https://lwn.net/Articles/100594/ https://lwn.net/Articles/100594/ scripter I wonder what the security implications of CacheFS are. Does each file inherit the permissions of the original? Is confidentiality a problem? What if you want to securely erase a file?<br> Thu, 02 Sep 2004 16:41:32 +0000