From: Luben Tuikov <luben_tuikov@adaptec.com>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: [RFC] Transport classes, SAS, discovery
Date: Fri, 11 Mar 2005 11:33:56 -0500 [thread overview]
Message-ID: <4231C874.7060800@adaptec.com> (raw)
Hi guys,
Q: I've been wondering how exactly does the transport class work?
Can anyone give an intro on attribute container, attribute group,
transport class template, etc. I've been looking at those but not
100% sure I understand it all. It looks similar to the old
scsi detect "discovery" but not 100% sure.
Q: Also I'd like to ask if domain discovery would be performed
by the mid layer? I assume yes, so that "there is no code duplication".
Q: In this case would it be safe to assume that we need a
sas_phy, sas_port and sas_ha? A la:
sas_ha 1<---* sas_port 1<---128 sas_phy *
^ |
| 1 128 |
+-------------------------------+
With the appropriate linked lists and properties as defined
in the SAS 1.1 spec ch 4? (undoubtedly more properties would
be added as drivers come along)
Now, I can see that there exist scsi_target and scsi_host
which appear to be the underlying objects for the transport
classes of sorts, host and target.
Q: Since a SAS mid layer discovery core would manipulate ports
and phys, do we need to represent those with scsi core
objects, or would struct device plus the SAS specific
object class suffice?
Q: Also, how exactly would a LLDD register the objects with
the class? Would the answer to this be the trivial answer,
or is there some kind of "it will detect it itself".
On top of this we would have scsi targets in this picture
which would depend on phys/ports/ha. (And LUs depend on
targets.)
So basically, would scsi core need to have an internal SAS
domain topology representation (how about expanders...).
That is, it would help multipathing a great deal.
Thanks,
Luben
* Where,
objA N<---M objB, means
objA depends on objB* and objA can associate M number of objB
and objB can associate N objA, where an association is
a relationship defined appropriate for the object tuple, which
need not necessarily be homogeneous.
next reply other threads:[~2005-03-11 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-11 16:33 Luben Tuikov [this message]
2005-03-11 17:14 ` [RFC] Transport classes, SAS, discovery Matthew Wilcox
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=4231C874.7060800@adaptec.com \
--to=luben_tuikov@adaptec.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