From 182d65312050ce96162e5ef564dcaf8df4b5d7d6 Mon Sep 17 00:00:00 2001 From: johann Date: Fri, 3 Jul 2009 19:50:51 +0000 Subject: [PATCH] Branch b_release_1_8_1 b=17086 i=adilger i=ihara Bump default number of entries in the sg descriptor of mpt fusion. --- .../patches/mpt-fusion-max-sge.patch | 31 ++++++++++++++++++++++ lustre/kernel_patches/series/2.6-rhel5.series | 1 + 2 files changed, 32 insertions(+) create mode 100644 lustre/kernel_patches/patches/mpt-fusion-max-sge.patch 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 index 0000000..3fa6c48 --- /dev/null +++ b/lustre/kernel_patches/patches/mpt-fusion-max-sge.patch @@ -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 diff --git a/lustre/kernel_patches/series/2.6-rhel5.series b/lustre/kernel_patches/series/2.6-rhel5.series index 5614f06..41f55fc 100644 --- a/lustre/kernel_patches/series/2.6-rhel5.series +++ b/lustre/kernel_patches/series/2.6-rhel5.series @@ -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 -- 1.8.3.1