Whamcloud - gitweb
b=6866
[fs/lustre-release.git] / lustre / kernel_patches / patches / scsi-max-phys-segments-256.patch
1 Index: linux-2.6.10/include/scsi/scsi.h
2 ===================================================================
3 --- linux-2.6.10.orig/include/scsi/scsi.h       2004-12-25 00:35:40.000000000 +0300
4 +++ linux-2.6.10/include/scsi/scsi.h    2005-09-05 18:05:35.000000000 +0400
5 @@ -14,7 +14,11 @@
6   *     The maximum sg list length SCSI can cope with
7   *     (currently must be a power of 2 between 32 and 256)
8   */
9 -#define SCSI_MAX_PHYS_SEGMENTS MAX_PHYS_SEGMENTS
10 +
11 +/*
12 + * bump it to 256 (was MAX_PHYS_SEGMENTS) for 1MB bio's -bzzz
13 + */
14 +#define SCSI_MAX_PHYS_SEGMENTS 256
15  
16  
17  /*