linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: patch so cciss stats are collected in /proc/stat
@ 2004-09-29 19:26 Miller, Mike (OS Dev)
  2004-09-29 19:39 ` Neil Horman
  0 siblings, 1 reply; 13+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-09-29 19:26 UTC (permalink / raw)
  To: Neil Horman, mikem
  Cc: marcelo.tosatti, linux-kernel, linux-scsi,
	Baker, Brian (ISS - Houston)

> mike.miller@hp.com wrote:
> > Currently cciss statistics are not collected in /proc/stat. 
> This patch
> > bumps DK_MAX_MAJOR to 111 to fix that. This has been a 
> common complaint
> > by customers wishing to gather info about cciss devices.
> > Please consider this for inclusion. Applies to 2.4.28-pre3.
> > 
> > Thanks,
> > mikem
> > 
> --------------------------------------------------------------
> -----------------
> > 
> > diff -burNp lx2428-pre1.orig/include/linux/kernel_stat.h 
> lx2428-pre1/include/linux/kernel_stat.h
> > --- lx2428-pre1.orig/include/linux/kernel_stat.h	
> 2004-08-23 15:41:43.640300000 -0500
> > +++ lx2428-pre1/include/linux/kernel_stat.h	2004-08-23 
> 15:43:07.097613064 -0500
> > @@ -12,7 +12,7 @@
> >   * used by rstatd/perfmeter
> >   */
> >  
> > -#define DK_MAX_MAJOR 16
> > +#define DK_MAX_MAJOR 111
> >  #define DK_MAX_DISK 16
> >  
> >  struct kernel_stat {
> > -
> > 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/
> The answer to this is to use the latest sysstat tools.  the latest 
> version of iostat, sar, etc draw information out of /proc/partitions 
> rather than out of /proc/stat.  Or are you using some other 
> home rolled 
> tool in this case?
> 
> Neil

It's customers that are doing this. I think some of them are using their own tools. Others are probably using whatever comes on their distro.

mikem

> 
> -- 
> /***************************************************
>   *Neil Horman
>   *Software Engineer
>   *Red Hat, Inc.
>   *nhorman@redhat.com
>   *gpg keyid: 1024D / 0x92A74FA1
>   *http://pgp.mit.edu
>   ***************************************************/
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: patch so cciss stats are collected in /proc/stat
@ 2004-09-29 17:25 Miller, Mike (OS Dev)
  0 siblings, 0 replies; 13+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-09-29 17:25 UTC (permalink / raw)
  To: Andreas Haumer, arjanv
  Cc: Christoph Hellwig, mikem, marcelo.tosatti, linux-kernel,
	linux-scsi, Baker, Brian (ISS - Houston)

> Arjan van de Ven wrote:
> > On Wed, 2004-09-29 at 18:29, Miller, Mike (OS Dev) wrote:
> >
> >
> >>>This patch has been reject about half a million times, why 
> are people
> >>>submitting it again and again?
> >>
> >>As I said in my mail, it's a customer driven issue. As long 
> as customers rely on /proc/stat we'll keep trying. You can't 
> tell a customer how he/she should be doing things on their systems.
> >
> >
> > I doubt you have many customers using 2.4.28.... I suspect 
> that by now
> > the majority of people is either using an (ancient) 2.4 
> vendor kernel or
> > a 2.6 kernel. The very low number of reports on lkml about 
> 2.4 seems to
> > confirm that ...
> 
> "25% of accidents are caused by drunken drivers. That means
> 75% of accidents are caused by drivers which did not drink.
> So why keep people complaining about alcohol and driving?"
> 
> Is that what you mean? You must be kidding!
> 
> The majority of _our_ customers are using 2.4.x kernels
> (x beeing in the range from 19 to 28pre3) and it looks like
> it will stay that for quite a while...
> 
> - - andreas
> 
> PS: I know this is somewhat off topic, but I just want to raise
> my voice if I get the impression kernel developers forget about
> the "real world outside". I will shut up in a moment! Thank you!

Thank you, Andreas. I forgot to mention that very salient point!

mikem

> 
> - --
> Andreas Haumer                     | mailto:andreas@xss.co.at
> *x Software + Systeme              | http://www.xss.co.at/
> Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
> A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFBWum9xJmyeGcXPhERArzMAKCYhHvVvwpFObCzrPby2qY9u9MURQCgrelJ
> BpeZ2tG8zw0po/5ByYKFuZk=
> =RlQc
> -----END PGP SIGNATURE-----
> 
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: patch so cciss stats are collected in /proc/stat
@ 2004-09-29 16:29 Miller, Mike (OS Dev)
  2004-09-29 16:43 ` Arjan van de Ven
  2004-09-29 20:35 ` Marcelo Tosatti
  0 siblings, 2 replies; 13+ messages in thread
From: Miller, Mike (OS Dev) @ 2004-09-29 16:29 UTC (permalink / raw)
  To: Christoph Hellwig, mikem
  Cc: marcelo.tosatti, linux-kernel, linux-scsi,
	Baker, Brian (ISS - Houston)


> On Wed, Sep 29, 2004 at 11:13:45AM -0500, mike.miller@hp.com wrote:
> > Currently cciss statistics are not collected in /proc/stat. 
> This patch
> > bumps DK_MAX_MAJOR to 111 to fix that. This has been a 
> common complaint
> > by customers wishing to gather info about cciss devices.
> > Please consider this for inclusion. Applies to 2.4.28-pre3.
> 
> This patch has been reject about half a million times, why are people
> submitting it again and again?

As I said in my mail, it's a customer driven issue. As long as customers rely on /proc/stat we'll keep trying. You can't tell a customer how he/she should be doing things on their systems.

mikem
> 
> You get more detailed statistics in /proc/partitions.
> 
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread
* patch so cciss stats are collected in /proc/stat
@ 2004-09-29 16:13 mike.miller
  2004-09-29 16:19 ` Christoph Hellwig
  2004-09-29 19:08 ` Neil Horman
  0 siblings, 2 replies; 13+ messages in thread
From: mike.miller @ 2004-09-29 16:13 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: linux-kernel, linux-scsi, brian.b

Currently cciss statistics are not collected in /proc/stat. This patch
bumps DK_MAX_MAJOR to 111 to fix that. This has been a common complaint
by customers wishing to gather info about cciss devices.
Please consider this for inclusion. Applies to 2.4.28-pre3.

Thanks,
mikem
-------------------------------------------------------------------------------

diff -burNp lx2428-pre1.orig/include/linux/kernel_stat.h lx2428-pre1/include/linux/kernel_stat.h
--- lx2428-pre1.orig/include/linux/kernel_stat.h	2004-08-23 15:41:43.640300000 -0500
+++ lx2428-pre1/include/linux/kernel_stat.h	2004-08-23 15:43:07.097613064 -0500
@@ -12,7 +12,7 @@
  * used by rstatd/perfmeter
  */
 
-#define DK_MAX_MAJOR 16
+#define DK_MAX_MAJOR 111
 #define DK_MAX_DISK 16
 
 struct kernel_stat {

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

end of thread, other threads:[~2004-10-01  5:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29 19:26 patch so cciss stats are collected in /proc/stat Miller, Mike (OS Dev)
2004-09-29 19:39 ` Neil Horman
  -- strict thread matches above, loose matches on Subject: below --
2004-09-29 17:25 Miller, Mike (OS Dev)
2004-09-29 16:29 Miller, Mike (OS Dev)
2004-09-29 16:43 ` Arjan van de Ven
2004-09-29 16:58   ` Andreas Haumer
2004-10-01  5:21     ` Willy Tarreau
2004-09-29 17:20   ` mikem
2004-10-01  5:33   ` Willy Tarreau
2004-09-29 20:35 ` Marcelo Tosatti
2004-09-29 16:13 mike.miller
2004-09-29 16:19 ` Christoph Hellwig
2004-09-29 19:08 ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).