From: James Bottomley <James.Bottomley@SteelEye.com>
To: Joe Scsi <joe.scsi@gmail.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [RFC] target code updates to support scanned targets
Date: Tue, 15 Feb 2005 18:33:17 -0600 [thread overview]
Message-ID: <1108513997.5539.76.camel@mulgrave> (raw)
In-Reply-To: <7526e305050215152950f5a69e@mail.gmail.com>
On Tue, 2005-02-15 at 15:29 -0800, Joe Scsi wrote:
> I see the internal changes to scsi_scan.c that this refers to, but
> I'm not totally clear on what a driver should do to allocate a target
> and scan it when it finds out about a new target port.
A driver doesn't allocate a target. In this code, a target device is
purely a LUN container and is managed by the mid-layer. The driver
requests the scan of a target by parent device, channel and id. This
request for a scan creates and parents the target object, but reaps it
again if no actual LUNs are discovered.
James
next prev parent reply other threads:[~2005-02-16 0:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-15 23:29 [RFC] target code updates to support scanned targets Joe Scsi
2005-02-16 0:33 ` James Bottomley [this message]
2005-02-16 0:53 ` Andrew Vasquez
2005-02-16 1:46 ` James Bottomley
2005-02-16 17:54 ` Andrew Vasquez
2005-02-17 19:32 ` Andrew Vasquez
2005-02-16 0:54 ` Joe Scsi
2005-02-16 1:49 ` James Bottomley
-- strict thread matches above, loose matches on Subject: below --
2005-02-15 22:38 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=1108513997.5539.76.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=joe.scsi@gmail.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 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.