From: Douglas Gilbert <dougg@torque.net>
To: James.Smart@Emulex.Com
Cc: James.Bottomley@SteelEye.com, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 3/3] MidLayer updates - extending scsi_target support
Date: Sun, 06 Feb 2005 11:44:54 +1000 [thread overview]
Message-ID: <42057696.5080109@torque.net> (raw)
In-Reply-To: <0B1E13B586976742A7599D71A6AC733C12EB22@xbl3.ma.emulex.com>
James.Smart@Emulex.Com wrote:
>>the idea behind this is fine, I just don't like the interface.
>>
>>Really a target device is nothing more than a container to SCSI. We
>>already do the transport add/remove calls for targets, I don't see we
>>need other calls duplicating this. So, I think the
>>implementation would
>>look a whole lot better if the fc transport class just exported an
>>interface to get the extra storage for the driver and tacked it on to
>>its allocation. Then you can use the existing mid-layer transport
>>target triggers to do everything you want.
>
>
> This can certainly be transport-specific. However, I assumed the better
> solution was to make it more generic as there's nothing about this
> problem that's transport-centric. If a driver only tracks things by
> target (not lun), it makes a whole lotta sense to allow for per-target
> data.
Targets "speak" the same transport protocol as the HBA.
This cannot necessarily be said about logical units.
Bridges are being proposed between SAS and SPI in which
U160/U320 disks on a SPI bus appear as luns on a single
SAS target (i.e. the bridge device). If the initiator
wants to speak to the disks then it uses luns (most likely
where SPI target ids appear as luns). The initiator may be
a little surprised if it queries the protocol specific mode
and log pages on those disks (as they will reveal their
native SPI transport characteristics). To query and configure
the bridge (and perhaps check its protocol specific mode
and logs pages) well known logical unit numbers will be used.
SCSI targets seem like an important abstraction in their
own right, not just containers for lus.
Doug Gilbert
next prev parent reply other threads:[~2005-02-06 1:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-05 15:04 [PATCH 3/3] MidLayer updates - extending scsi_target support James.Smart
2005-02-06 1:44 ` Douglas Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-06 17:28 James.Smart
2005-02-06 17:33 ` Christoph Hellwig
2005-02-06 2:00 James.Smart
2005-01-29 14:03 James.Smart
2005-02-04 23:00 ` James Bottomley
2005-02-06 14:18 ` Vladislav Bolkhovitin
2005-05-24 17:06 ` 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=42057696.5080109@torque.net \
--to=dougg@torque.net \
--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