patch to kernel_stats.h, bumps DK_MAX_MAJOR for cciss

From: mikem
Date: Mon Aug 23 2004 - 16:47:40 EST


On Mon, Aug 23, 2004 at 04:25:17PM -0500, Postmaster@xxxxxxxxxxxx wrote:
> From: mikem <mikem@xxxxxxxxxxxxxxxxxxxxxxx>
> To: marcelo.tossati@xxxxxxxxxxxx, axboe.suse.de@xxxxxxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx
> Subject: patch for kernel_stats.h, bump DK_MAJOR_MAX for cciss devices
> User-Agent: Mutt/1.5.6i
> X-Cyclades-MailScanner-Information: Please contact the ISP for more information
> X-Cyclades-MailScanner: Found to be clean
> X-MIMETrack: Itemize by SMTP Server on USMail/Cyclades(Release 6.5.1|January 21, 2004) at
> 08/23/2004 14:27:21,
> Serialize by Router on USMail/Cyclades(Release 6.5.1|January 21, 2004) at
> 08/23/2004 14:27:22,
> Serialize complete at 08/23/2004 14:27:22

Sorry, Marcelo, I butchered your name also.

mikem

>
> This patch bumps DK_MAX_MAJOR to 111 so various cciss statistics can be
> collected just they are with SCSI, IDE, etc.
> Applies to 2.4.28-pre1. Please consider this for inclusion.
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/