From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261711AbUH0KY0 (ORCPT ); Fri, 27 Aug 2004 06:24:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262574AbUH0KY0 (ORCPT ); Fri, 27 Aug 2004 06:24:26 -0400 Received: from mx1.redhat.com ([66.187.233.31]:29139 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261711AbUH0KYY (ORCPT ); Fri, 27 Aug 2004 06:24:24 -0400 From: David Howells In-Reply-To: References: <17777.1093566183@redhat.com> To: Linus Torvalds Cc: Andrew Morton , Kernel Mailing List , steved@redhat.com, dwmw2@redhat.com Subject: Re: [PATCH] CacheFS - general filesystem cache User-Agent: EMH/1.14.1 SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Date: Fri, 27 Aug 2004 11:24:12 +0100 Message-ID: <4304.1093602252@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > Heh: > > Three levels of indirection are currently supported: > > - single indirection > - double indirection > > somebody has trouble counting. Not really. I struck triple indirection off the list because I decided not to go that far yet. I haven't yet persuaded emacs to automatically update counting words in this situation:-) > More seriously, I'd _really_ love to see something like a "swapfs", ie > tmpfs with cachefs as a backing store. It would be a lot more useful for > testing that AFS+cachefs, and would hopefully also act as a example of how > to use it _without_ having to worry about AFS. > > Is that possible? Ramfs with on-disc caching, perhaps? :-) I'd have to provide cache file pinning to prevent them being automatically recycled, but I want to do that anyway for other reasons. It'd also be nice to be able to use it as emergency swap, but I think that might be a little tricky, though if you pin a file, give it a maximum size, and swap it on you could probably do that. David