/usr/src/kernel-patches/lustre/patches/mpt-fusion-max-sge.patch is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 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
|