From edfebf429f23e1d233adb9ceaea9ef12555cdf67 Mon Sep 17 00:00:00 2001
From: yangsheng <yangsheng>
Date: Thu, 26 Jul 2007 07:50:36 +0000
Subject: [PATCH] Branch b1_6 b=12771 i=adilger i=shadow

Add patch blkdev_tunables-2.6-sles10.patch to 2.6-sles10.series.
---
 lustre/ChangeLog                                    |  6 ++++++
 .../patches/blkdev_tunables-2.6-sles10.patch        | 13 +++++++++++++
 lustre/kernel_patches/series/2.6-sles10.series      |  1 +
 3 files changed, 20 insertions(+)
 create mode 100644 lustre/kernel_patches/patches/blkdev_tunables-2.6-sles10.patch

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index d01b4c8a98..62019bb6cb 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -33,6 +33,12 @@ Bugzilla   : 12211
 Description: randomly memory allocation failure util
 Details    : Make lustre randomly failed allocating memory for testing purpose.
 
+Severity   : normal
+Frequency  : only for SLES10
+Bugzilla   : 12771
+Description: Update kernel patch for SLES10 SP1
+Details    : Add patch blkdev_tunables-2.6-sles10.patch to 2.6-sles10.series.
+
 --------------------------------------------------------------------------------
 
 2007-07-30         Cluster File Systems, Inc. <info@clusterfs.com>
diff --git a/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles10.patch b/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles10.patch
new file mode 100644
index 0000000000..a2d7da22a7
--- /dev/null
+++ b/lustre/kernel_patches/patches/blkdev_tunables-2.6-sles10.patch
@@ -0,0 +1,13 @@
+Index: linux-2616-46014/include/scsi/scsi_host.h
+===================================================================
+--- linux-2616-46014.orig/include/scsi/scsi_host.h
++++ linux-2616-46014/include/scsi/scsi_host.h
+@@ -28,7 +28,7 @@ struct scsi_transport_template;
+  *	 used in one scatter-gather request.
+  */
+ #define SG_NONE 0
+-#define SG_ALL 0xff
++#define SG_ALL 256
+ 
+ 
+ #define DISABLE_CLUSTERING 0
diff --git a/lustre/kernel_patches/series/2.6-sles10.series b/lustre/kernel_patches/series/2.6-sles10.series
index 40d7509f97..fc7ce833ad 100644
--- a/lustre/kernel_patches/series/2.6-sles10.series
+++ b/lustre/kernel_patches/series/2.6-sles10.series
@@ -12,3 +12,4 @@ remove-suid-2.6-suse.patch
 export-show_task-2.6-fc5.patch 
 sd_iostats-2.6-rhel4.patch 
 export_symbol_numa-2.6-fc5.patch 
+blkdev_tunables-2.6-sles10.patch
-- 
GitLab