Whamcloud - gitweb
Branch b_release_1_8_1
authorjohann <johann>
Fri, 3 Jul 2009 19:50:51 +0000 (19:50 +0000)
committerjohann <johann>
Fri, 3 Jul 2009 19:50:51 +0000 (19:50 +0000)
b=17086
i=adilger
i=ihara

Bump default number of entries in the sg descriptor of mpt fusion.

lustre/kernel_patches/patches/mpt-fusion-max-sge.patch [new file with mode: 0644]
lustre/kernel_patches/series/2.6-rhel5.series

diff --git a/lustre/kernel_patches/patches/mpt-fusion-max-sge.patch b/lustre/kernel_patches/patches/mpt-fusion-max-sge.patch
new file mode 100644 (file)
index 0000000..3fa6c48
--- /dev/null
@@ -0,0 +1,31 @@
+diff -Nrup linux-2.6.18-92.1.10.orig/drivers/message/fusion/Kconfig linux-2.6.18-92.1.10/drivers/message/fusion/Kconfig
+--- linux-2.6.18-92.1.10.orig/drivers/message/fusion/Kconfig   2008-12-11 10:27:02.000000000 +1100
++++ linux-2.6.18-92.1.10/drivers/message/fusion/Kconfig        2008-12-11 10:28:42.000000000 +1100
+@@ -59,10 +59,10 @@ config FUSION_SAS
+         LSISAS1078
+ config FUSION_MAX_SGE
+-      int "Maximum number of scatter gather entries (16 - 128)"
++      int "Maximum number of scatter gather entries (16 - 256)"
+       depends on FUSION
+-      default "128"
+-      range 16 128
++      default "256"
++      range 16 256
+       help
+         This option allows you to specify the maximum number of scatter-
+         gather entries per I/O. The driver default is 128, which matches
+diff -Nrup linux-2.6.18-92.1.10.orig/drivers/message/fusion/mptbase.h linux-2.6.18-92.1.10/drivers/message/fusion/mptbase.h
+--- linux-2.6.18-92.1.10.orig/drivers/message/fusion/mptbase.h 2008-12-11 10:27:03.000000000 +1100
++++ linux-2.6.18-92.1.10/drivers/message/fusion/mptbase.h      2008-12-11 10:30:55.000000000 +1100
+@@ -166,8 +166,8 @@
+ #ifdef  CONFIG_FUSION_MAX_SGE
+ #if     CONFIG_FUSION_MAX_SGE  < 16
+ #define MPT_SCSI_SG_DEPTH     16
+-#elif   CONFIG_FUSION_MAX_SGE  > 128
+-#define MPT_SCSI_SG_DEPTH     128
++#elif   CONFIG_FUSION_MAX_SGE  > 256 
++#define MPT_SCSI_SG_DEPTH     256
+ #else
+ #define MPT_SCSI_SG_DEPTH     CONFIG_FUSION_MAX_SGE
+ #endif
index 5614f06..41f55fc 100644 (file)
@@ -22,5 +22,6 @@ quota-large-limits-rhel5.patch
 md-mmp-unplug-dev.patch
 prune-icache-use-trylock-rhel5.patch
 jbd-slab-race-2.6-rhel5.patch
+mpt-fusion-max-sge.patch
 jbd2-jcberr-2.6-rhel5.patch
 jbd2-commit-timer-no-jiffies-rounding.diff