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

From: mikem
Date: Tue Aug 10 2004 - 13:00:32 EST



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
-------------------------------------------------------------------------------
diff -burpN lx268-rc3-p006/drivers/block/cciss.c lx268-rc3/drivers/block/cciss.c
--- lx268-rc3-p006/drivers/block/cciss.c 2004-08-05 14:16:11.567565000 -0500
+++ lx268-rc3/drivers/block/cciss.c 2004-08-06 10:15:31.934926352 -0500
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/