Skip to contentSkip to conversation

cciss update [7/8] bump read ahead to 1024

PATCH mikem 1 participant 1 message Aug 10, 2004 Block layer

lore
Share & tools
lore

mikem

author
#0 lore raw

Patch 7 of 8
This patch changes our read_ahead to 1024. This has been shown to increase performance. Please consider this for inclusion. Patch applies to 2.6.8-rc4. Please apply in order.

Thanks,
mikem
-------------------------------------------------------------------------------

drivers/block/cciss.c +1 -1
diff -burpN lx268-rc3-p006/drivers/block/cciss.c lx268-rc3/drivers/block/cciss.c
@@ -115,7 +115,7 @@ static struct board_type products[] = {
 /*define how many times we will try a command because of bus resets */
 #define MAX_CMD_RETRIES 3
 
-#define READ_AHEAD 	 256
+#define READ_AHEAD 	 1024
 #define NR_CMDS		 384 /* #commands that can be outstanding */
 #define MAX_CTLR 8