patch so cciss stats are collected in /proc/stat

From: mike . miller
Date: Wed Sep 29 2004 - 11:16:56 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/