From: Douglas Gilbert <dougg@torque.net>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Mike Christie <mikenc@us.ibm.com>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH RFC 1/3] add fc transport events
Date: Mon, 14 Jun 2004 12:15:03 +1000 [thread overview]
Message-ID: <40CD0A27.5070504@torque.net> (raw)
In-Reply-To: <1087166778.10940.23.camel@mulgrave>
James Bottomley wrote:
> On Sun, 2004-06-13 at 16:44, Mike Christie wrote:
>
>>I am not adding a host and a device transport class. I am structuring
>>things so there is a single fc transport class.
>
>
> I don't think that's such a good idea. A class is supposed to represent
> an interface on a device. The host and scsi device should have separate
> interfaces. The only reason we don't have any host interfaces in the
> transport classes is because no-one has yet had a reason to add one.
> However, since the loop status is definitely a host property, you
> do...part of what's missing is an attribute showing the loop state. SPI
> has a similar need; the host property there is LVD or SE, and we might
> be interested in transitions between them.
There are 4 categories of "devices" that we might try
to address:
a) host (PCI side and SCSI transport side)
b) transport service delivery subsystem
c) target device server
d) logical unit
Only a, b + c are associated with the transport in question.
In category b could be FC switches and SAS expanders. In
category d could be sATA, SPI or SAS disks behind a FC
target. So the logical unit doesn't necessarily belong to
the same transport as the initiator (especially in iSCSI)
as noted above by James.
So the end point of the transport is category c and according
to SPC-3 a target device server is addressed via "well known"
logical units (see section 8). [The standard requirement for a
device server to respond to lun==0 for INQUIRY and REPORT LUNS
is a related hack that allows a SCSI disk to double as a
target device server and a lu.]
Is our transport class design flexible enough for this level
of complexity?
Doug Gilbert
next prev parent reply other threads:[~2004-06-14 2:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-27 7:25 [PATCH RFC 1/3] add fc transport events Mike Christie
2004-06-13 3:41 ` James Bottomley
2004-06-13 20:44 ` Mike Christie
2004-06-13 21:23 ` Mike Christie
2004-06-13 22:46 ` James Bottomley
2004-06-13 23:17 ` Mike Christie
2004-06-14 2:15 ` Douglas Gilbert [this message]
2004-06-14 14:28 ` 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=40CD0A27.5070504@torque.net \
--to=dougg@torque.net \
--cc=James.Bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mikenc@us.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.