[lkml]   [2002]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.4.19pre*: IO statistics in /proc/partitions corrupt

The statistics patch included in the kernel since 2.4.19pre still has a
bug leading to negative values for the "running io's" value, called
ios_in_flight internally.
This leads to completely wrong results for many other values computed
from this one and renders the statistics utterly unusable.

The problem appears on IDE and SCSI drives, affecting values for
partitions and also whole disks. It seems to be most significant when
using a RAID (which is often the case on servers with much disk access,
where statistics are important!):

8 16 35842048 sdb 12637435 51727 101513266 103991890 19600590
14721219 274592008 988438640 **-100** 250563400 315019978
8 32 35842048 sdc 8438773 75872 68117130 62271950 13147577
9950844 184838544 550059270 **-32** 247111750 1119563006

Here sdb and sdc are each a RAID1 pair, on a Dual-CPU running

Does anyone have an idea where a starting disk io might not be counted


Jochen Suckfuell --- ---
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

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