Re: IO stats in /proc/partitions

From: Alan Cox (
Date: Sat May 04 2002 - 17:53:06 EST

> Earlier I noticed that RedHat did put some statistics in
> /proc/partitions. That was bad, but I assumed that it was
> their laziness, being too busy to do a proper job.

It was put there in the 2.2 era after discussion with various folks. Its
been in most vendor kernels for about four years.

> On the other hand, disk statistics should not be in
> /proc/partitions. They should be in /proc/diskstatistics.
> I see a heading today "rio rmerge rsect ruse wio wmerge"
> "wsect wuse running use aveq". No doubt next year we'll
> want different statistics. So /proc/diskstatistics should
> start with a header line including a version field.

The stats have been unchanged for years too. As to version lines
why ? This is lets mke /proc XML hell again

> Please keep these disk statistics apart from /proc/partitions.

It has to contain each partiiton anyway.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:23 EST