Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763818AbZCYSna (ORCPT ); Wed, 25 Mar 2009 14:43:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753359AbZCYSnV (ORCPT ); Wed, 25 Mar 2009 14:43:21 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:46376 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbZCYSnU (ORCPT ); Wed, 25 Mar 2009 14:43:20 -0400 Date: Wed, 25 Mar 2009 11:40:28 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Theodore Tso cc: David Rees , Jesper Krogh , Linux Kernel Mailing List Subject: Re: Linux 2.6.29 In-Reply-To: <20090325183011.GN32307@mit.edu> Message-ID: References: <49C87B87.4020108@krogh.cc> <72dbd3150903232346g5af126d7sb5ad4949a7b5041f@mail.gmail.com> <49C88C80.5010803@krogh.cc> <72dbd3150903241200v38720ca0x392c381f295bdea@mail.gmail.com> <20090325183011.GN32307@mit.edu> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 22 On Wed, 25 Mar 2009, Theodore Tso wrote: > > I'm beginning to think that using a "ratio" may be the wrong way to > go. We probably need to add an optional dirty_max_megabytes field > where we start pushing dirty blocks out when the number of dirty > blocks exceeds either the dirty_ratio or the dirty_max_megabytes, > which ever comes first. We have that. Except it's called "dirty_bytes" and "dirty_background_bytes", and it defaults to zero (off). The problem being that unlike the ratio, there's no sane default value that you can at least argue is not _entirely_ pointless. Linus -- 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/