linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to handle QUEUE_FULL/SAM_STAT_TASK_SET_FULL in userspace?
@ 2007-11-12 19:54 Chris Friesen
  2007-11-13 22:04 ` Chris Friesen
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Friesen @ 2007-11-12 19:54 UTC (permalink / raw)
  To: linux-scsi, dgilbert, James.Bottomley, Eric.Moore,
	DL-MPTFusionLinux

Hi,

I asked this question on the list last Friday and haven't seen any 
replies, so I thought I'd ask again and broaden the receiver list a bit.

We have x86-based hardware with dual LSI 53c1030 devices.  We have a few 
apps that issue SCSI requests on sg device nodes.  The requests are 
generally related to the health of the disks (ie, LOG_SENSE, 
REQUEST_SENSE, TEST_UNIT_READY, MODE_SENSE_10, that sort of thing).

We recently moved from 2.6.10 to 2.6.14 and now we're seeing occasional 
QUEUE_FULL/SAM_STAT_TASK_SET_FULL errors being returned to userspace. 
These didn't ever show up in 2.6.10.

So...are these errors expected?  If so, why are they only showing up now?

Is there any way to get rid of the errors?  Should the scsi midlayer be 
handling retries for these or is it up to userspace because we're using 
the ioctl() interface?

Is there a "correct" way to handle them in userspace?  Should we delay 
then retry the command?  How long should the app delay, how many retries 
should it attempt before giving up?

I'm at a loss here, and I'm having a hard time finding any concrete 
information on the expected behaviour.

Thanks,

Chris

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-11-15 22:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-12 19:54 how to handle QUEUE_FULL/SAM_STAT_TASK_SET_FULL in userspace? Chris Friesen
2007-11-13 22:04 ` Chris Friesen
2007-11-13 22:34   ` Moore, Eric
2007-11-14 17:23     ` Chris Friesen
2007-11-14 22:45       ` Moore, Eric
2007-11-15 19:09         ` Chris Friesen
2007-11-15 19:43           ` James Smart
2007-11-15 19:59             ` Moore, Eric
2007-11-15 19:57           ` Moore, Eric
2007-11-15 21:59             ` Chris Friesen
2007-11-15 22:18               ` James Bottomley
2007-11-15 22:35                 ` Moore, Eric
2007-11-15 22:47                   ` James Bottomley

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).