[PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE

From: Darrick J. Wong
Date: Fri May 27 2011 - 15:52:27 EST


It seems that can_queue on mptsas controllers is clamped to 128 even though the
hardware can have much larger queues. Clamp to a higher value to utilize the
hardware more effectively--with a large number of disks I see contention for
queue slots, and with the higher clamp I don't.

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
---

drivers/message/fusion/mptbase.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index fe90233..5d8c57e 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -159,7 +159,7 @@
*/
#define MPT_FC_CAN_QUEUE 1024
#define MPT_SCSI_CAN_QUEUE 127
-#define MPT_SAS_CAN_QUEUE 127
+#define MPT_SAS_CAN_QUEUE 511

/*
* Set the MAX_SGE value based on user input.
--
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/