public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* driverfs is not for everything! (was:  [PATCH] /proc/scsi/map)
@ 2002-06-23 22:59 Grover, Andrew
  2002-06-24  1:34 ` David Brownell
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Grover, Andrew @ 2002-06-23 22:59 UTC (permalink / raw)
  To: 'Nick Bellinger', David Brownell
  Cc: linux-kernel, linux-scsi, Patrick Mochel

> From: Nick Bellinger [mailto:nickb@attheoffice.org] 
> Giving the IP stack its own directory (leaf?) under driverfs 
> root sounds
> interesting enough and could have some potential uses, but in the case
> of iSCSI there are a few problems:

I know this is one of those things that has more and more cool possibilities
the more you think about it but...

Is the device PHYSICALLY hooked up to the computer? If not, it shouldn't be
in devicefs.

The device tree (for which devicefs is the fs representation) was originally
meant to enable good device power management and configuration. driverfs
wasn't meant to handle iscsi or tcpip (that is, network) connections, nor
should it have to.

Regards -- Andy

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <andrew.grover@intel.com>]
* RE: driverfs is not for everything! (was: [PATCH] /proc/scsi/map )
@ 2002-06-24 18:37 Grover, Andrew
  0 siblings, 0 replies; 17+ messages in thread
From: Grover, Andrew @ 2002-06-24 18:37 UTC (permalink / raw)
  To: 'James Bottomley', Grover, Andrew
  Cc: 'David Brownell', 'Nick Bellinger', linux-kernel,
	linux-scsi, Patrick Mochel

> From: James Bottomley [mailto:James.Bottomley@steeleye.com] 
> andrew.grover@intel.com said:
> > If a device can be accessed by multiple machines concurrently, it
> > should not be in driverfs. 
> 
> On that argument, we'll eliminate almost all Fibre Channel devices!
> 
> I think the qualification for appearing in driverfs is 
> actually possessing a 
> driver.  Therefore, we accept FC and iSCSI.  Things which appear as 
> FileSystems are debatable, but not anything which has a real 
> device driver.

OK that makes sense.

Regards -- Andy

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: driverfs is not for everything! (was:  [PATCH] /proc/scsi/map )
@ 2002-06-24 18:47 Grover, Andrew
  2002-06-24 19:03 ` Oliver Xymoron
  0 siblings, 1 reply; 17+ messages in thread
From: Grover, Andrew @ 2002-06-24 18:47 UTC (permalink / raw)
  To: 'Roman Zippel'
  Cc: 'David Brownell', 'Nick Bellinger', linux-kernel,
	linux-scsi, Patrick Mochel

> From: Roman Zippel [mailto:zippel@linux-m68k.org] 
> On Mon, 24 Jun 2002, Grover, Andrew wrote:
> > If a device can be accessed by multiple machines 
> concurrently, it should not
> > be in driverfs.
> 
> I don't think it's that easy. If the computer wakes up again, 
> devices have
> to be reinitialised in the right order, e.g. iSCSI needs a 
> working network
> stack and devices.

Would the iSCSI device be a child of the network device? That would ensure
that the NIC was fully restarted before the iSCSI device.

> Another problem is how to properly shutdown the
> machine. Scripts now "know" that nfs requires the network, 
> but how does
> the script find out, that /dev/sdb2 is an iSCSI device, so that it can
> properly unmount the device, before the network is shutdown?

Would a bottom-up traversal of the device tree do things properly?

Regards -- Andy

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-07-01  2:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-23 22:59 driverfs is not for everything! (was: [PATCH] /proc/scsi/map) Grover, Andrew
2002-06-24  1:34 ` David Brownell
2002-06-24  5:18 ` Nick Bellinger
2002-06-24  6:41   ` Brad Hards
2002-06-25 18:18 ` Patrick Mochel
     [not found] <andrew.grover@intel.com>
2002-06-24 17:35 ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map ) Grover, Andrew
2002-06-24 18:04   ` David Brownell
2002-06-24 18:09   ` James Bottomley
2002-06-24 19:23     ` Oliver Xymoron
2002-06-25 18:38     ` Patrick Mochel
2002-06-24 18:32   ` Roman Zippel
2002-06-24 22:47   ` John Summerfield
2002-06-25 18:35   ` Patrick Mochel
2002-07-01  2:41   ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2002-06-24 18:37 Grover, Andrew
2002-06-24 18:47 Grover, Andrew
2002-06-24 19:03 ` Oliver Xymoron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox