[PATCH 1/1] UBUNTU: SAUCE: Reduce AACRAID hardware queue size

Andy Whitcroft apw at canonical.com
Tue Jun 23 11:29:51 UTC 2009


From: Mathias Urlichs <matthias at urlichs.de>

BugLink: http://bugzilla.kernel.org/show_bug.cgi?id=11120
BugLink: http://bugs.launchpad.net/bugs/249964

Reduce the hardware queue size for the AACRAID controller.  This controloler
suffers adapter aborts and scsi resets under high load otherwise:

    aacraid: Host adapter abort request (0,0,2,0)
    aacraid: Host adapter abort request (0,0,3,0)
    aacraid: Host adapter reset request. SCSI hang ?
    aacraid: Host adapter abort request (0,0,0,0)

Signed-Off-By: Mathias Urlichs <matthias at urlichs.de>
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 drivers/scsi/aacraid/aacraid.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index 9abba8b..8ed6b53 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -24,7 +24,7 @@
 #define AAC_MAX_LUN		(8)
 
 #define AAC_MAX_HOSTPHYSMEMPAGES (0xfffff)
-#define AAC_MAX_32BIT_SGBCOUNT	((unsigned short)256)
+#define AAC_MAX_32BIT_SGBCOUNT	((unsigned short)127)
 
 /*
  * These macros convert from physical channels to virtual channels
-- 
1.6.3.rc3.199.g24398





More information about the kernel-team mailing list