lkml.org 
[lkml]   [2002]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IO stats in /proc/partitions


On Thu, 16 May 2002, Christoph Hellwig wrote:

> On Wed, May 15, 2002 at 06:39:03PM -0300, Marcelo Tosatti wrote:
> > > 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.
> > >
> > > Please keep these disk statistics apart from /proc/partitions.
> >
> > The change can possibly break userlevel tools which were working with
> > 2.4.18.
> >
> > Christoph, please create a /proc/diskstatistics file or something like
> > that and send me a patch.
>
> I rather send a complete backout patch for mainline instead. This format
> has been used by the vendor (Red Hat, SuSE, etc..) kernels since 2.2 ages
> and is used (if present) by the stock performance tools for linux
> (i.e. syststat package, iostats

Look, I just do not want to break some apps which read /proc/partitions.
Thats it.

Look, changing the userlevel apps to at least know about the new format is
not hard. And you can do that over time.

Do you see why I think /proc/whatever-else is interesting ?


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

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.899 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site