Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755797AbXJBIso (ORCPT ); Tue, 2 Oct 2007 04:48:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752396AbXJBIse (ORCPT ); Tue, 2 Oct 2007 04:48:34 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:52054 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbXJBIse (ORCPT ); Tue, 2 Oct 2007 04:48:34 -0400 Subject: Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24) From: Peter Zijlstra To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Jens Axboe , Fengguang Wu In-Reply-To: <20071002013148.18958af2.akpm@linux-foundation.org> References: <20071001142222.fcaa8d57.akpm@linux-foundation.org> <1191313025.13204.30.camel@twins> <20071002013148.18958af2.akpm@linux-foundation.org> Content-Type: text/plain Date: Tue, 02 Oct 2007 10:48:31 +0200 Message-Id: <1191314911.13204.41.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2474 Lines: 66 On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: > On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra wrote: > > > On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: > > > > > nfs-remove-congestion_end.patch > > > lib-percpu_counter_add.patch > > > lib-percpu_counter_sub.patch > > > lib-percpu_counter-variable-batch.patch > > > lib-make-percpu_counter_add-take-s64.patch > > > lib-percpu_counter_set.patch > > > lib-percpu_counter_sum_positive.patch > > > lib-percpu_count_sum.patch > > > lib-percpu_counter_init-error-handling.patch > > > lib-percpu_counter_init_irq.patch > > > mm-bdi-init-hooks.patch > > > mm-scalable-bdi-statistics-counters.patch > > > mm-count-reclaimable-pages-per-bdi.patch > > > mm-count-writeback-pages-per-bdi.patch > > > > This one: > > > mm-expose-bdi-statistics-in-sysfs.patch > > > > > lib-floating-proportions.patch > > > mm-per-device-dirty-threshold.patch > > > mm-per-device-dirty-threshold-warning-fix.patch > > > mm-per-device-dirty-threshold-fix.patch > > > mm-dirty-balancing-for-tasks.patch > > > mm-dirty-balancing-for-tasks-warning-fix.patch > > > > And, this one: > > > debug-sysfs-files-for-the-current-ratio-size-total.patch > > > > > > I'm not sure polluting /sys/block//queue/ like that is The Right > > Thing. > > hm, I suppose not. It leaves nowhere for nfs, for a start. > > > These patches sure were handy when debugging this, but not sure > > they want to move to maineline. > > > > Maybe we want /sys/bdi// or maybe /debug/bdi// > > > > If you think we'll need this stuff for support/debug during 2.6.24-rcX then > sure - we can always take it out prior to 2.6.24-final. > > otoh, if we're going to take that approach we might as well leave things in > /sys/block//queue. People seem to have tested the code in various demanding scenarios (both -mm and the back-port to .22), so I'm fairly confident that this part works well (famous last words,.. I know I'll regret having said this). Also the NFS issue bothers me to no end. I'll try and come up with a /sys/bdi/ thing. SLUB should have some sysfs code I can copy from - last time I looked at doing sysfs I just gave up. God awful mess that is. - 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/