All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Brian King <brking@us.ibm.com>,
	Martin Peschke3 <MPESCHKE@de.ibm.com>,
	SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] Hidden scsi devices
Date: Thu, 22 Jan 2004 10:42:41 -0800	[thread overview]
Message-ID: <20040122184241.GC2611@beaverton.ibm.com> (raw)
In-Reply-To: <1074793813.2149.32.camel@mulgrave>

James Bottomley [James.Bottomley@steeleye.com] wrote:
> On Thu, 2004-01-22 at 12:33, Brian King wrote:
> > I agree that this is a solution as well (requires more code), but
> > then sysfs will show the device as a different device type, which
> > I would think might be confusing.
> 
> Isn't there a volume manager type ... don't have access to the standards
> at the moment, but I vaguely remember this.  That is essentially what
> you're doing isn't it? discs that are part of an array?

I see a 0C "Storage array controller device", but no volume type in spc3.
> 
> > > The true solution to this issue looks to be more flexibility in the
> > > binding process.  We did discuss this previously, certainly in a SAN
> > > environment there are reasons for only actually binding (and allocating
> > > resources to) devices you're interested in.
> > 
> > Who generally has this knowledge in your example? The LLDD? Would a
> > LLDD host template function that gets called for each disk be more
> > palatable?
> 
> This is definitely a TBD in the future item.  The idea is that some user
> process does the binding, and would have a list of devices to identify
> and ignore (or to identify and bind ignoring everything else).
> 

I do not believe Patrick posted it, but he had a prototype of this
working using current infrastructure, a new sysfs attribute called
rebind(??), and some mucking with the device type. In the TBD future
this could be much cleaner.

> It would benefit us if we begin to trigger hotplug events on FC storage
> discovery.  Without zoning, we'd get may FC events that we simply

Since we a talking port ids these events would be less than all the
hotplug events that are triggered during discovery of the luns off these
port ids.

> weren't interested in.  We could simply log the ID in a database, and if
> the user says "I want that storage" then bring it in and bind it.  You
> would be able to use the same mechanism in ipr to say "don't bind
> here"..

With Greg's export of the hotplug call LLDDs could make these calls
today.

-andmike
--
Michael Anderson
andmike@us.ibm.com


  reply	other threads:[~2004-01-22 18:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 15:57 [PATCH] Hidden scsi devices Martin Peschke3
2004-01-22 17:07 ` Brian King
2004-01-22 17:22   ` James Bottomley
2004-01-22 17:33     ` Brian King
2004-01-22 17:50       ` James Bottomley
2004-01-22 18:42         ` Mike Anderson [this message]
2004-01-22 19:43         ` Mike Anderson
2004-01-22 19:46           ` James Bottomley
2004-01-22 20:13             ` Brian King
  -- strict thread matches above, loose matches on Subject: below --
2004-01-22 15:21 Brian King
2004-01-22 15:50 ` Christoph Hellwig

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=20040122184241.GC2611@beaverton.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=James.Bottomley@steeleye.com \
    --cc=MPESCHKE@de.ibm.com \
    --cc=brking@us.ibm.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.