Skip to content
Snippets Groups Projects
Commit a8209f8c authored by alex's avatar alex
Browse files

- set SCSI_MAX_PHYS_SEGMENTS to 256 for 1MB requests

parent 904ce4f8
No related branches found
No related tags found
No related merge requests found
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
/*
...@@ -32,3 +32,4 @@ nid-2.6-fc3.patch ...@@ -32,3 +32,4 @@ nid-2.6-fc3.patch
highmem-split-2.6.10-fc3.patch highmem-split-2.6.10-fc3.patch
pag-basic-2.6.10-fc3.patch pag-basic-2.6.10-fc3.patch
sd_iostats-2.6-rhel4.patch sd_iostats-2.6-rhel4.patch
scsi-max-phys-segments-256.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment