linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: linux-scsi@vger.kernel.org, Eric.Moore@lsi.com,
	DL-MPTFusionLinux@lsi.com
Subject: getting QUEUE_FULL/SAM_STAT_TASK_SET_FULL from userspace sg operations
Date: Fri, 09 Nov 2007 15:59:25 -0600	[thread overview]
Message-ID: <4734D83D.8090202@nortel.com> (raw)


Hi all,

I've been asked to look into a SCSI problem.  I know my way around the 
kernel, but I'm new to SCSI/disk operations, so please bear with me (and 
educate me) if my terminology is off.

We have an x86-based blade with dual LSI 53c1030 devices.

We recently moved to a new kernel version, and now some of our userspace 
apps are getting QUEUE_FULL/SAM_STAT_TASK_SET_FULL errors when issuing 
SCSI requests on the sg device nodes.  The requests were generally 
related to the health of the disks (ie, LOG_SENSE, REQUEST_SENSE, 
TEST_UNIT_READY, MODE_SENSE_10, that sort of thing).

We had been using a vendor-supplied 2.6.10 kernel with version 3.01.18 
of the Fusion MPT driver.  The new kernel is based on 2.6.14 and uses 
version 3.02.57 of the Fusion MPT driver.

So....first, what is the proper way to handle this type of error in 
userspace?  Should the app immediately retry, or wait a bit then retry? 
  Should there be a cap on the number of retries?  If so, what's a 
reasonable limit?

Second, can anyone think of why we would suddenly get more of these 
errors when moving between these kernel versions when using the same 
hardware?

Third, what do we do to get rid of the errors?  Updating the driver may 
be an option, updating the kernel itself is not.

Thanks,

Chris

                 reply	other threads:[~2007-11-09 22:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4734D83D.8090202@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=DL-MPTFusionLinux@lsi.com \
    --cc=Eric.Moore@lsi.com \
    --cc=linux-scsi@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).