Re: [PATCH] conditionally re-enable per-disk stats, convert to seq_file

Christoph Hellwig (hch@lst.de)
Thu, 8 Aug 2002 01:18:14 +0200


On Wed, Aug 07, 2002 at 04:10:48PM -0700, Randy.Dunlap wrote:
> | 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.

Feel free to implement it. This is the interface use by all major
vendors for ages and the -ac kernel series. It's supported by unpatched
upstream performace tools.

I'll keept this patch around for the few poort soul complaining that
they don't get that's anymore after upgrading to the latest kernel.org
source.

-
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/