diff --git a/lustre/kernel_patches/patches/scsi-max-phys-segments-256.patch b/lustre/kernel_patches/patches/scsi-max-phys-segments-256.patch new file mode 100644 index 0000000000000000000000000000000000000000..83f421429c351d7cea9b78cdf4d18ed4bffa42a6 --- /dev/null +++ b/lustre/kernel_patches/patches/scsi-max-phys-segments-256.patch @@ -0,0 +1,17 @@ +Index: linux-2.6.10/include/scsi/scsi.h +=================================================================== +--- linux-2.6.10.orig/include/scsi/scsi.h 2004-12-25 00:35:40.000000000 +0300 ++++ linux-2.6.10/include/scsi/scsi.h 2005-09-05 18:05:35.000000000 +0400 +@@ -14,7 +14,11 @@ + * The maximum sg list length SCSI can cope with + * (currently must be a power of 2 between 32 and 256) + */ +-#define SCSI_MAX_PHYS_SEGMENTS MAX_PHYS_SEGMENTS ++ ++/* ++ * bump it to 256 (was MAX_PHYS_SEGMENTS) for 1MB bio's -bzzz ++ */ ++#define SCSI_MAX_PHYS_SEGMENTS 256 + + + /* diff --git a/lustre/kernel_patches/series/2.6-fc3.series b/lustre/kernel_patches/series/2.6-fc3.series index 012dd705d1d9d8fb87e9b6c091d950d114a0649b..775728879b31a4f8c63a771b14e2a802d6a1fa31 100644 --- a/lustre/kernel_patches/series/2.6-fc3.series +++ b/lustre/kernel_patches/series/2.6-fc3.series @@ -32,3 +32,4 @@ nid-2.6-fc3.patch highmem-split-2.6.10-fc3.patch pag-basic-2.6.10-fc3.patch sd_iostats-2.6-rhel4.patch +scsi-max-phys-segments-256.patch