[8653] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

What are the current timeouts?

daemon@ATHENA.MIT.EDU (Matthew Dharm)
Mon Apr 17 17:40:03 2000

Date:	Mon, 17 Apr 2000 14:09:32 -0700 (PDT)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: The Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <Pine.LNX.4.10.10004171404200.30156-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

My virtual HBA for USB mass storage devices contains several places where
I wait for the device to respond to my commands for a timeout of "a few"
seconds.  Unfortunately, I'm pretty sure that the timeouts were originally
chosen somewhat arbitrarily, and I know that they are sub-optimal.

So, I want to change them.  Of course, the maximum timeout for my HBA
should be equal to or less than the timeout that the SCSI layer is going
to impose on me.  I've been told that for most commands (READ, etc) the
timeout is ~~10-20 seconds.  I've noticed, however, that for some commands
(ie INQUIRY) it seems much shorter.

So, what I would like to know is this: What are the timeouts on SCSI
commands, and where (in general) is this type of information located?

Matt Dharm

-- 
Matthew Dharm                              Home: mdharm@one-eyed-alien.net 
Engineer, Qualcomm, Inc.                         Work: mdharm@qualcomm.com

Now payink attention, please.  This is mouse.  Click-click. Easy to 
use, da? Now you try...
					-- Pitr to Miranda
User Friendly, 10/11/1998


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post