This file is indexed.

/usr/src/kernel-patches/lustre/patches/blkdev_tunables-2.6-sles10.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
Index: linux-2.6.16.54-0.2.3/include/scsi/scsi_host.h
===================================================================
--- linux-2.6.16.54-0.2.3.orig/include/scsi/scsi_host.h
+++ linux-2.6.16.54-0.2.3/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
Index: linux-2.6.16.54-0.2.3/drivers/scsi/scsi_lib.c
===================================================================
--- linux-2.6.16.54-0.2.3.orig/drivers/scsi/scsi_lib.c
+++ linux-2.6.16.54-0.2.3/drivers/scsi/scsi_lib.c
@@ -1573,6 +1573,7 @@ struct request_queue *scsi_alloc_queue(s
 
 	blk_queue_prep_rq(q, scsi_prep_fn);
 
+	blk_queue_max_phys_segments(q, SCSI_MAX_PHYS_SEGMENTS);
 	blk_queue_max_hw_segments(q, shost->sg_tablesize);
 	blk_queue_max_sectors(q, shost->max_sectors);
 	blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost));