From: Mike Anderson <andmike@linux.vnet.ibm.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Jens Axboe <Jens.Axboe@oracle.com>,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: Block timeouts seem not to be working
Date: Thu, 11 Sep 2008 08:42:05 -0700 [thread overview]
Message-ID: <20080911154205.GA1069@linux.vnet.ibm.com> (raw)
In-Reply-To: <1221145521.3330.2.camel@localhost.localdomain>
James Bottomley <James.Bottomley@HansenPartnership.com> wrote:
> I just noticed this with a rather finickey SAS system I have. It's got
> a SATA DVD attached over an expander. Periodically the DVD just hangs
> up, so we wait for the timeout and then send a phy reset which clears
> it.
>
> What I'm seeing with the new block timer code is that the timer never
> expires. I can dig some more into this, but if you wanted to test it as
> well, the timer code is easy to excite. Just throw away one command in
> every 128 or so in the queuecommand routine of your favourite HBA
> driver.
I have not seen the case of the timer never expiring, but will look into
other test cases.
Mike C and I where seeing timeout issues (host staying in recovery state
or list debug bugon's) when running tests with timeouts set to 1 or 2
seconds. We are working with Jens to address this. The issue we where
hitting appears related to the scsi_eh / scsi_done completion
synchronization.
-andmike
--
Michael Anderson
andmike@linux.vnet.ibm.com
next prev parent reply other threads:[~2008-09-11 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 15:05 Block timeouts seem not to be working James Bottomley
2008-09-11 15:42 ` Mike Anderson [this message]
2008-09-11 18:35 ` Jens Axboe
2008-09-12 21:46 ` James Bottomley
2008-09-15 20:01 ` Mike Christie
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=20080911154205.GA1069@linux.vnet.ibm.com \
--to=andmike@linux.vnet.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=Jens.Axboe@oracle.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