From: Andries Brouwer <aebr@win.tue.nl>
To: Kurt Garloff <kurt@garloff.de>, Christoph Hellwig <hch@lst.de>,
Linux kernel list <linux-kernel@vger.kernel.org>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: [PATCH] conditionally re-enable per-disk stats, convert to seq_file
Date: Wed, 7 Aug 2002 23:18:56 +0200 [thread overview]
Message-ID: <20020807211856.GB322@win.tue.nl> (raw)
In-Reply-To: <20020807210225.GD31622@nbkurt.etpnet.phys.tue.nl>
> 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?
Andries
next prev parent reply other threads:[~2002-08-07 21:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-06 14:08 Christoph Hellwig
2002-08-07 21:02 ` Kurt Garloff
2002-08-07 21:18 ` Andries Brouwer [this message]
2002-08-07 22:33 ` Christoph Hellwig
2002-08-07 22:59 ` Andries Brouwer
2002-08-07 23:10 ` Randy.Dunlap
2002-08-07 23:18 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020807211856.GB322@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=hch@lst.de \
--cc=kurt@garloff.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®