cciss update 7 read_ahead bumped to 1024

From: mike . miller
Date: Fri Aug 06 2004 - 12:25:21 EST


Patch 7
This patch changes our read_ahead to 1024. This has been shown to increase
performance. Please consider this for inclusion. It should be applied
after the 6 I sent in Aug 5.

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/