2011-05-27 19:52:23

by djwong

[permalink] [raw]
Subject: [PATCH] mptsas: Increase MPT_SAS_CAN_QUEUE

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 <[email protected]>
---

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.