public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Bellinger <nickb@attheoffice.org>
To: David Brownell <david-b@pacbell.net>
Cc: Patrick Mochel <mochel@osdl.org>,
	linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] /proc/scsi/map
Date: 26 Jun 2002 17:39:19 -0600	[thread overview]
Message-ID: <1025134761.15055.84.camel@subjeKt> (raw)
In-Reply-To: <3D18AD30.7040904@pacbell.net>

On Tue, 2002-06-25 at 11:49, David Brownell wrote:
> >>Why shouldn't there be a $DRIVERFS/net/ipv4@10.42.135.99/... style
> >>hookup for iSCSI devices?  Using whatever physical addressing the
> >>kernel uses there, which I assume wouldn't necessarily be restricted
> >>to ipv4.  (And not exposing physical network topology -- routing! --
> >>in driverfs.)
> > 
> > 
> > You can very well use driverfs to expose those attributes, and is one of 
> > the things that we've been discussing at the kernel summit. driverfs will 
> > take over the world. But, I still think the device is best represented as 
> > a child of the phsysical network device. 
> 
> Which one?  I'd certainly hope that drivers wouldn't have to choose which
> of the various network interfaces to register under, or register under
> every network interface concurrently.  (Or only the ones they might
> conceivably be routed to go out on...)  Given a bonded network link (going
> out over multiple physical drivers) that'd get hairy.  And what about
> devices that host several logical interfaces?  Or when the interfaces get
> moved to some other device?

I hate to kick the already deceased horse but..  

This appears to be one of the larger problems that nobody (aside from
this thread :) seems to be raising.  I understand Pat's logic of wanting
to keep the logical device a child of the network card,  but in many
situations (espically the enterprise ones with regard multipathed IP
storage, along with David's examples above) I just dont see how that can
be done correctly in keeping all the prementioned virtual devices part
of the network device's directory in the tree. 

> 
> That's why I think a "non-physical" tree (not under $DRIVERFS/root) is more
> sensible in such cases.  Which is not to say it's without additional issues
> (like how to establish/maintain driver linkages that are DAGs not single
> parent trees) but it wouldn't require drivers to dig as deeply into lower
> levels of their stack.  (And some network interfaces might well live in
> such a non-physical tree, not just iSCSI...)
> 

I am in complete agreement, from my little view of where driverfs
currently stands a non-physical tree is going to have to happen sooner
or later,  why not now?  

> I think that problem wouldn't quite be isomorphic to multipath access to
> devices, though it seems to be related.  "Driver stacking" is an area
> that "driverfs" doesn't seem to address quite yet ... not needed in the
> simpler driver scenarios, so that's what I'd expect at this stage.
> 
> - Dave
> 
Thanks!
			Nicholas Bellinger


  reply	other threads:[~2002-06-26 23:39 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22 17:24 [PATCH] /proc/scsi/map David Brownell
2002-06-22 17:48 ` Roman Zippel
2002-06-22 20:11   ` Douglas Gilbert
2002-06-22 20:57     ` Roman Zippel
2002-06-22 18:18 ` Nick Bellinger
2002-06-24  1:50   ` David Brownell
2002-06-25 16:46   ` Patrick Mochel
2002-06-25 16:33 ` Patrick Mochel
2002-06-25 17:47   ` driverfs bus_id, name (was: [PATCH] /proc/scsi/map) David Brownell
2002-06-25 19:06     ` Patrick Mochel
2002-06-25 19:55       ` David Brownell
2002-06-25 17:49   ` [PATCH] /proc/scsi/map David Brownell
2002-06-26 23:39     ` Nick Bellinger [this message]
2002-07-03  0:59     ` Pavel Machek
     [not found] <20020621092943.D1243@austin.ibm.com>
2002-06-21 16:17 ` Patrick Mochel
  -- strict thread matches above, loose matches on Subject: below --
2002-06-20 23:59 Grover, Andrew
     [not found] <20020620112543.GD26376@gum01m.etpnet.phys.tue.nl>
2002-06-20 15:34 ` Linus Torvalds
2002-06-20 16:30   ` Martin Dalecki
2002-06-20 16:58     ` James Bottomley
2002-06-20 18:27       ` Linus Torvalds
2002-06-20 20:55         ` Martin Dalecki
2002-06-20 21:04           ` Linus Torvalds
2002-06-20 21:36             ` Martin Dalecki
2002-06-20 20:12     ` Patrick Mochel
2002-06-20 22:29       ` Martin Dalecki
2002-06-22 18:42         ` Pavel Machek
2002-06-21 21:33       ` Oliver Xymoron
2002-06-22  4:38         ` Nick Bellinger
2002-06-22 19:41           ` Douglas Gilbert
2002-06-22 19:11             ` Nick Bellinger
2002-06-25 18:13             ` Patrick Mochel
2002-06-25 16:05         ` Patrick Mochel
2002-06-25 16:57           ` Oliver Xymoron
2002-06-25 18:58             ` Patrick Mochel
2002-07-03  1:01               ` Pavel Machek
2002-06-20 18:32   ` Kurt Garloff
2002-06-20 18:53     ` Linus Torvalds
2002-06-21  9:07     ` Kurt Garloff
     [not found] <200206200711.RAA10165@thucydides.inspired.net.au>
2002-06-20 15:13 ` Linus Torvalds
2002-06-20 15:36   ` Dave Jones
2002-06-20 17:01     ` Linus Torvalds
2002-06-20 16:55   ` Andries Brouwer
2002-06-20 19:18   ` Patrick Mochel
     [not found]   ` <20020620165553.GA16897@win.tue.nl>
2002-06-20 17:52     ` Patrick Mansfield
2002-06-20 18:36       ` Linus Torvalds
2002-06-20 18:52         ` James Bottomley
2002-06-20 19:15           ` Linus Torvalds
2002-06-20 16:28             ` Benjamin Herrenschmidt
2002-06-21  0:46               ` Linus Torvalds
2002-06-20 16:49                 ` Benjamin Herrenschmidt
2002-06-20 20:06             ` Oliver Xymoron
2002-06-22 18:27         ` Pavel Machek
2002-06-20 18:11     ` Linus Torvalds
2002-06-20 22:59       ` Martin Schwenke
2002-06-20 23:13         ` Linus Torvalds
2002-06-22 18:25           ` Pavel Machek
2002-06-26 16:03       ` Ihno Krumreich
2002-06-20 19:55     ` Greg KH
2002-06-21  6:28   ` Mike Touloumtzis
2002-06-20  0:44 Kurt Garloff
2002-06-20  5:03 ` Linus Torvalds
2002-06-20  7:09   ` Martin Schwenke
2002-06-20 11:25   ` Kurt Garloff

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=1025134761.15055.84.camel@subjeKt \
    --to=nickb@attheoffice.org \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mochel@osdl.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