From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: brking@linux.vnet.ibm.com, Tejun Heo <htejun@gmail.com>,
linux-scsi@vger.kernel.org, thlin@linux.vnet.ibm.com,
linux-ide@vger.kernel.org, miltonm@bga.com
Subject: Re: [PATCH 1/1] ipr: Fix HDIO_GET_IDENTITY oops for SATA devices
Date: Mon, 02 Jun 2008 14:39:12 -0500 [thread overview]
Message-ID: <1212435552.3369.62.camel@localhost.localdomain> (raw)
In-Reply-To: <484441E6.8020501@garzik.org>
On Mon, 2008-06-02 at 14:54 -0400, Jeff Garzik wrote:
> Brian King wrote:
> > One thing that having a per-port SCSI host buys us is that it isolates
> > EH to the port rather than the entire SCSI host. The way that the new
> > libata EH is designed, it can end up spending a fair amount of time
> > in EH and may even sleep for seconds at a time, waiting for the device
> > to come ready. Quiescing all devices on a SAS host due to a single
> > SATA device gets *very* painful. The new libata EH does much more than
> > just EH. It wakes up for every ATAPI check condition...
> >
> > Before we can move to a single SCSI host model, we will
> > have to make some changes regarding how EH is done in libata...
>
>
> Good points. There definitely needs to be a discussion about how to
> integrate libata EH with libsas model and ipr model (which are distinct,
> if similar).
Actually, libsas completely hijacks the strategy handler (as I believe
libata does), so it really no longer has a host dependency, except for
the one thread per host thing. Most of what it does (unless it thinks
the actual host chip is wedged) is port (as in SAS port, not phy) based,
so I think we have the capability for doing this already.
> libata EH was coded to largely be "in the driver's seat", which isn't
> true in a world where it is a peer to SAS devices. Also libata EH
> duplicates some of the link EH stuff that SAS deals with, and must
> subsume (since libsas knows about both SAS and SATA phys, and an ideal
> world doesn't have the two as separate as they are now).
Yes ... there's even nastier scenarios. If we're in a STP (SATA Tunnel
Protocol) situation, the device at the end is SATA, but the pathway to
get to it through the port is SAS via expanders. In that situation the
two have to co-operate on the recovery ... of course, this isn't
incredibly dissimilar from port multipliers now.
James
next prev parent reply other threads:[~2008-06-02 19:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <12124164141515-patch-mail.ibm.com>
2008-06-02 16:08 ` [PATCH 1/1] ipr: Fix HDIO_GET_IDENTITY oops for SATA devices Jeff Garzik
2008-06-02 16:27 ` Brian King
2008-06-02 16:45 ` James Bottomley
2008-06-02 17:43 ` Jeff Garzik
2008-06-02 17:57 ` James Bottomley
2008-06-02 18:11 ` Jeff Garzik
2008-06-02 18:51 ` Brian King
2008-06-02 18:54 ` Jeff Garzik
2008-06-02 19:39 ` James Bottomley [this message]
2008-06-02 20:27 ` Brian King
2008-06-02 19:35 ` James Bottomley
2008-06-02 19:53 ` Alan Cox
2008-07-11 18:37 Brian King
-- strict thread matches above, loose matches on Subject: below --
2008-06-02 14:20 Brian King
2008-06-02 14:20 Brian King
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=1212435552.3369.62.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=brking@linux.vnet.ibm.com \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=miltonm@bga.com \
--cc=thlin@linux.vnet.ibm.com \
/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).