From linux-kernel-owner+willy=40w.ods.org-S268701AbUI2QOu@vger.kernel.org Wed Sep 29 18:15:38 2004 Return-Path: Received: from vger.kernel.org (vger.kernel.org [12.107.209.244]) by mail.w.ods.org (8.12.9/8.12.1) with ESMTP id i8TGHMSg001275 for ; Wed, 29 Sep 2004 18:17:23 +0200 (CEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268701AbUI2QOu (ORCPT ); Wed, 29 Sep 2004 12:14:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268696AbUI2QOu (ORCPT ); Wed, 29 Sep 2004 12:14:50 -0400 Received: from palrel12.hp.com ([156.153.255.237]:49382 "EHLO palrel12.hp.com") by vger.kernel.org with ESMTP id S268501AbUI2QOM (ORCPT ); Wed, 29 Sep 2004 12:14:12 -0400 Received: from mailrelay01.cac.cpqcorp.net (mailrelay01.cac.cpqcorp.net [16.47.132.152]) by palrel12.hp.com (Postfix) with ESMTP id F3EDF4004D9; Wed, 29 Sep 2004 09:14:11 -0700 (PDT) Received: from beardog.cca.cpqcorp.net (beardog.cca.cpqcorp.net [16.101.176.144]) by mailrelay01.cac.cpqcorp.net (Postfix) with ESMTP id B15EC36E7; Wed, 29 Sep 2004 09:14:11 -0700 (PDT) Received: by beardog.cca.cpqcorp.net (Postfix, from userid 1000) id A006950291; Wed, 29 Sep 2004 11:13:45 -0500 (CDT) Date: Wed, 29 Sep 2004 11:13:45 -0500 From: mike.miller@hp.com To: marcelo.tosatti@cyclades.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, brian.b@hp.com Subject: patch so cciss stats are collected in /proc/stat Message-ID: <20040929161345.GB22308@beardog.cca.cpqcorp.net> Reply-To: mike.miller@hp.com, mikem@beardog.cca.cpqcorp.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org Status: RO Content-Length: 1015 Lines: 26 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/