Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267387AbUI2T0R (ORCPT ); Wed, 29 Sep 2004 15:26:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268884AbUI2T0Q (ORCPT ); Wed, 29 Sep 2004 15:26:16 -0400 Received: from ztxmail03.ztx.compaq.com ([161.114.1.207]:60422 "EHLO ztxmail03.ztx.compaq.com") by vger.kernel.org with ESMTP id S267387AbUI2T0J convert rfc822-to-8bit (ORCPT ); Wed, 29 Sep 2004 15:26:09 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: RE: patch so cciss stats are collected in /proc/stat Date: Wed, 29 Sep 2004 14:26:08 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: patch so cciss stats are collected in /proc/stat Thread-Index: AcSmV+DZgAhYPSx8SQ2zgHltH+c8qwAAg4Mw From: "Miller, Mike (OS Dev)" To: "Neil Horman" , Cc: , , , "Baker, Brian (ISS - Houston)" X-OriginalArrivalTime: 29 Sep 2004 19:26:09.0173 (UTC) FILETIME=[2C2E8450:01C4A65A] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2083 Lines: 63 > 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 > ***************************************************/ > - 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/