The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@canonical.com>
To: Adaptec OEM Raid Solutions <aacraid@adaptec.com>
Cc: Andy Whitcroft <apw@canonical.com>,
	Mathias Urlichs <matthias@urlichs.de>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] Reduce AACRAID hardware queue size
Date: Tue, 23 Jun 2009 12:25:06 +0100	[thread overview]
Message-ID: <1245756306-29023-2-git-send-email-apw@canonical.com> (raw)
In-Reply-To: <1245756306-29023-1-git-send-email-apw@canonical.com>

From: Mathias Urlichs <matthias@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@urlichs.de>
Signed-off-by: Andy Whitcroft <apw@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 cdbdec9..0d5d036 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


  reply	other threads:[~2009-06-23 11:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 11:25 [PATCH 0/1] BZ#11120: AACRAID driver stalls under high load Andy Whitcroft
2009-06-23 11:25 ` Andy Whitcroft [this message]
2009-06-23 11:50   ` [PATCH 1/1] Reduce AACRAID hardware queue size Matthias Urlichs
2009-06-23 14:11     ` Andy Whitcroft
2009-06-23 15:31   ` James Bottomley
2009-06-23 15:43     ` Alan Cox
2009-06-23 16:04     ` Matthias Urlichs
2009-07-01 15:58       ` Andy Whitcroft
2009-07-01 16:28         ` Matthias Urlichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1245756306-29023-2-git-send-email-apw@canonical.com \
    --to=apw@canonical.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=aacraid@adaptec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthias@urlichs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox