1 Index: b/include/linux/blkdev.h
2 ===================================================================
3 --- a/include/linux/blkdev.h
4 +++ b/include/linux/blkdev.h
5 @@ -1026,6 +1026,6 @@ extern int blk_verify_command(unsigned c
6 enum blk_default_limits {
7 - BLK_MAX_SEGMENTS = 128,
8 + BLK_MAX_SEGMENTS = 256,
9 BLK_SAFE_MAX_SECTORS = 255,
10 - BLK_DEF_MAX_SECTORS = 1024,
11 + BLK_DEF_MAX_SECTORS = 2048,
12 BLK_MAX_SEGMENT_SIZE = 65536,
13 BLK_SEG_BOUNDARY_MASK = 0xFFFFFFFFUL,
15 Index: linux-2.6.32.x86_64/include/scsi/scsi.h
16 ===================================================================
17 --- linux-2.6.32.x86_64.orig/include/scsi/scsi.h 2010-10-26 21:45:52.000000000 +0300
18 +++ linux-2.6.32.x86_64/include/scsi/scsi.h 2010-10-29 11:16:35.000000000 +0300
19 @@ -19,7 +19,7 @@ struct scsi_cmnd;
20 * to SG_MAX_SINGLE_ALLOC to pack correctly at the highest order. The
23 -#define SCSI_MAX_SG_SEGMENTS 128
24 +#define SCSI_MAX_SG_SEGMENTS 256
27 * Like SCSI_MAX_SG_SEGMENTS, but for archs that have sg chaining. This limit