From: Brian King <brking@us.ibm.com>
To: "Smart, James" <James.Smart@Emulex.com>
Cc: 'James Bottomley' <James.Bottomley@SteelEye.com>,
Linux SCSI Reflector <linux-scsi@vger.kernel.org>
Subject: Re: Transport affected timeouts...
Date: Thu, 22 Apr 2004 13:14:47 -0500 [thread overview]
Message-ID: <40880B97.4080705@us.ibm.com> (raw)
In-Reply-To: 3356669BBE90C448AD4645C843E2BF2802C016DC@xbl.ma.emulex.com
We are really trying to solve two different problems here. The problem I am
trying to solve with the patch I submitted is that the existing r/w timeouts
are too short for RAID array devices. Since a single read or write may end
up resulting in multiple ops in RAID 5 arrays this timeout becomes far too
short. In this scenario the LLD has the best knowledge as to what this timeout
value needs to be. A delta value here really does not make sense.
The problem you are trying to solve is more related to the latencies you may
experience due to the transport. I'm not sure my patch is the best way to fix
your problem. Updating the st driver to use this rw_timeout does not sound like
a good solution as the LLD really has no idea what the total timeout for a
read or write should be for a tape.
Option 2 works best for the ipr driver, option 3 works best for you. Since we
are really solving two different problems, how about using both options?
-Brian
> Potential options:
> 1) Change the base driver timeout. (base drivers defined to be sd, st, etc)
>
> I dislike this mainly because it fails (a) and (c). Also concerned about
> abilities to tune all base drivers.
>
> 2) Allow the scsi-host to provide a timeout value that can override the base
> driver.
> The IBM proposed patch does this. I dislike the patch as : scsi host has no
> input as to what the base driver timeout is; there are multiple base driver
> timeouts (sd, st, etc); thus apriori knowledge is required to determine a
> maximum. Also, application of timeout change is inconsistent.
>
> 3) Allow the scsi-host to provide a transport-specific increment that can be
> added to the base driver timeout.
> Just a refinement of (2) to hopefully remove my dislikes. Still has faults
> as the exact relationship of topology/configuration/devices to needed
> timeout is not exact/determinable.
--
Brian King
eServer Storage I/O
IBM Linux Technology Center
next prev parent reply other threads:[~2004-04-22 18:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 16:28 Transport affected timeouts Smart, James
2004-04-22 18:14 ` Brian King [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-22 21:36 Smart, James
2004-04-22 21:45 ` Brian King
2004-05-03 15:49 ` Brian King
2004-04-22 18:54 Smart, James
2004-04-22 19:02 ` James Bottomley
2004-04-22 19:09 ` Brian King
2004-04-21 16:53 Smart, James
2004-04-21 19:20 ` James Bottomley
2004-04-16 20:13 Smart, James
2004-04-16 19:39 Smart, James
2004-04-16 19:46 ` James Bottomley
2004-04-16 15:40 Smart, James
2004-04-16 19:24 ` James Bottomley
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=40880B97.4080705@us.ibm.com \
--to=brking@us.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=James.Smart@Emulex.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