mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* iostats broken for devices with major number > DK_MAX_DISK (16)
@ 2002-11-12 20:35 Per Andreas Buer
  2002-11-12 23:01 ` James Stevenson
  2002-11-12 23:41 ` Rick Lindsley
  0 siblings, 2 replies; 5+ messages in thread
From: Per Andreas Buer @ 2002-11-12 20:35 UTC (permalink / raw)
  To: linux-kernel

Hi,

sorry for the intrusion. I noticed iostats didn't display statistics for
devices on Mylex RAID constrollers. Det statistics are completely
missing in /proc/stat. The reason seems to be an assumption that disks
have major numbers which are below 16
(http://lxr.linux.no/source/include/linux/kernel_stat.h#L15) which is
used by http://lxr.linux.no/source/fs/proc/proc_misc.c#L344.

Devices on Mylex-controllers have major number 48. Would it break
anything if DK_MAX_MAJOR if set higher (e.g. 64)?

AFAIK this goes for both 2.4 and the 2.5 series.



-- 
Per Andreas Buer

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-12 23:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12 20:35 iostats broken for devices with major number > DK_MAX_DISK (16) Per Andreas Buer
2002-11-12 23:01 ` James Stevenson
2002-11-12 23:25   ` Cliff White
2002-11-12 23:40     ` James Stevenson
2002-11-12 23:41 ` Rick Lindsley

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®