Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 22 Jan 2002 15:51:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 22 Jan 2002 15:50:57 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:1292 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 22 Jan 2002 15:50:42 -0500 Date: Tue, 22 Jan 2002 18:50:21 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Hans Reiser Cc: Andrew Morton , Andreas Dilger , Chris Mason , Shawn Starr , , Subject: Re: Possible Idea with filesystem buffering. In-Reply-To: <3C4DC966.8060004@namesys.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Jan 2002, Hans Reiser wrote: > So the problem is that there is no coherently architected VM-to-FS > interface that has been articulated, and we need one. Absolutely agreed. One of the main design elements for such an interface would be doing all filesystem things in the filesystem and all VM things in the VM so we don't get frankenstein monsters on either side of the fence. > So far we can identify that we need something to pressure the FS, and > something to ask for a particular page. > > It might be desirable to pressure the FS more than one page aging at a > time for reasons of performance as Rik pointed out. > Any other design considerations? One of the things we really want to do in the VM is pre-clean data and just reclaim clean pages later on. This means it would be easiest/best if the filesystem took care of _just_ writing out data and if freeing the data later on would be left to the VM. I understand this is not always possible due to stuff like metadata repacking, but I guess we can ignore this case for now since the metadata is hopefully small and won't unbalance the VM. regards, Rik -- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" document http://www.surriel.com/ http://distro.conectiva.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/