From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [patch 10/21] buffer heads: Support slab defrag Date: Thu, 15 May 2008 10:42:15 -0700 (PDT) Message-ID: References: <20080510030831.796641881@sgi.com> <20080510030916.935905242@sgi.com> <20080512002403.GP103491721@sgi.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Mel Gorman , andi@firstfloor.org, Rik van Riel , Pekka Enberg , mpm@selenic.com To: David Chinner Return-path: Received: from relay2.sgi.com ([192.48.171.30]:46408 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751432AbYEORmQ (ORCPT ); Thu, 15 May 2008 13:42:16 -0400 In-Reply-To: <20080512002403.GP103491721@sgi.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, 12 May 2008, David Chinner wrote: > If you are going to clean bufferheads (or pages), please clean entire > mappings via ->writepages as it leads to far superior I/O patterns > and a far higher aggregate rate of page cleaning..... That brings up another issue: Lets say I use writepages on a large file (couple of gig). How much do you want to write back?