Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 19:09:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 19:09:42 -0400 Received: from air-2.osdl.org ([65.172.181.6]:14597 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id ; Wed, 7 Aug 2002 19:09:42 -0400 Date: Wed, 7 Aug 2002 16:10:48 -0700 (PDT) From: "Randy.Dunlap" X-X-Sender: To: Andries Brouwer cc: Kurt Garloff , Christoph Hellwig , Linux kernel list , Marcelo Tosatti Subject: Re: [PATCH] conditionally re-enable per-disk stats, convert to seq_file In-Reply-To: <20020807211856.GB322@win.tue.nl> Message-ID: 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 Content-Length: 1196 Lines: 30 On Wed, 7 Aug 2002, Andries Brouwer wrote: | | > On Tue, Aug 06, 2002 at 04:08:48PM +0200, Christoph Hellwig wrote: | > > This patch against 2.4.20-pre1 converts /proc/partitions to the seq_file | > > interface as in 2.5, makes it report the sard-style extended disk | > > statistics condititional on CONFIG_BLK_STATS and disables the gathering | > > of those totally otherwise to not waste memory and processing power. | | But why in /proc/partitions ? | Maybe /proc/partitions can go away eventually with all info available | under driverfs or so. But for the time being, /proc/partitions is used, | and some changes are planned to make identification of the devices | involved easier. | It is really ugly to stuff a lot of garbage into a file just because | it happens to exist already. If you want disk statistics, why not | put it in /proc/diskstatistics? me too. I'd like to see the disk stats added, but not in /proc/partitions. -- ~Randy - 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/