Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 20 Jan 2002 10:14:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 20 Jan 2002 10:14:15 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:47620 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Sun, 20 Jan 2002 10:14:07 -0500 Date: Sun, 20 Jan 2002 13:13:46 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Hans Reiser Cc: Shawn , , Josh MacDonald Subject: Re: Possible Idea with filesystem buffering. In-Reply-To: <3C4AD24D.4050206@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 Sun, 20 Jan 2002, Hans Reiser wrote: > Write clustering is one thing it achieves. > > Flushing everything involved in a transaction ... is another thing. Agreed on these points, but you really HAVE TO work towards flushing the page ->writepage() gets called for. Think about your typical PC, with memory in ZONE_DMA, ZONE_NORMAL and ZONE_HIGHMEM. If we are short on DMA pages we will end up calling ->writepage() on a DMA page. If the filesystem ends up writing completely unrelated pages and marking the DMA page in question referenced the VM will go in a loop until the filesystem finally gets around to making a page in the (small) DMA zone freeable ... 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/