]> git.hungrycats.org Git - linux/commitdiff
[PATCH] cciss: read_ahead bumped to 1024
authorMike Miller <mike.miller@hp.com>
Mon, 23 Aug 2004 06:08:39 +0000 (23:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:08:39 +0000 (23:08 -0700)
This patch changes our read_ahead to 1024.  This has been shown to increase
performance.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss.c

index 3b93d107465258eef98f22e3d0ae5b556727c6b4..885c408dce1e040a71467c34dbdaefaa250edfcc 100644 (file)
@@ -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