public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: jbradford@dial.pipex.com
To: viro@math.psu.edu (Alexander Viro)
Cc: alan@lxorguk.ukuu.org.uk, mochel@osdl.org,
	torvalds@transmeta.com, andre@linux-ide.org,
	linux-kernel@vger.kernel.org
Subject: Re: [patch] IDE driver model update
Date: Tue, 8 Oct 2002 14:25:05 +0100 (BST)	[thread overview]
Message-ID: <200210081325.g98DP6MY000340@darkstar.example.net> (raw)
In-Reply-To: <Pine.GSO.4.21.0210080813030.2894-100000@weyl.math.psu.edu> from "Alexander Viro" at Oct 08, 2002 08:24:15 AM

> > > _ALL_ buses that have driverfs support (IDE, SCSI, USB, PCI) have their
> > > own rules for lifetimes of their structures.  And that's not likely to
> > > change - these objects belong to drivers and in some cases (IDE) are
> > > not even allocated dynamically - they are reused if nothing is holding
> > > them.
> > 
> > IDE objects can also outlast the hardware - consider an active mount on
> > an ejected pcmcia card. Right now we don't do the right stuff to
> > reconnect that on re-insert but one day we may need to. As it is we keep
> > the instance around to avoid crashes
> 
> Ouch.  That (reconnects) may require interesting things from queue-related
> code.  What behaviour do you want while card is disconnected?  All requests
> getting errors / all requests getting blocked / reads failing, writes blocking?

This raises the interesting possibility of being able to refer to
things like removable media directly, instead of the device the media
is inserted in.

The Amiga was doing this years ago.  You could access floppy drives
as, E.G. df0:, df1:, etc, but if you formatted a volume and called it
foobar, you could access foobar: no matter which floppy drive you put
it in to.

Also, Plan 9 does similar interesting things - you can do the equivilent of:

ls /internet/websites/kernel.org/

and treat the website as a filesystem.

John.

  parent reply	other threads:[~2002-10-08 13:12 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 19:30 [patch] IDE driver model update Patrick Mochel
2002-10-07 19:31 ` Patrick Mochel
2002-10-07 19:31 ` Patrick Mochel
2002-10-11 23:06   ` Pavel Machek
2002-10-07 19:31 ` Patrick Mochel
2002-10-07 22:42   ` Alexander Viro
2002-10-07 22:51     ` Patrick Mochel
2002-10-07 22:58       ` Alexander Viro
2002-10-07 23:06         ` Patrick Mochel
2002-10-08  2:17           ` Alexander Viro
2002-10-08 12:21             ` Alan Cox
2002-10-08 12:24               ` Alexander Viro
2002-10-08 13:05                 ` Alan Cox
2002-10-08 19:18                   ` Andries Brouwer
2002-10-08 13:25                 ` jbradford [this message]
2002-10-08 14:31                   ` Ketil Froyn
2002-10-08 21:34                     ` Xavier Bestel
2002-10-08 21:57                   ` Pavel Machek
2002-10-08 15:05                 ` Benjamin Herrenschmidt
2002-10-08 18:43             ` Patrick Mochel
2002-10-08 20:47               ` [RFC] embedded struct device " Alexander Viro
2002-10-08 21:29                 ` Linus Torvalds
2002-10-08 21:42                   ` Alexander Viro
2002-10-08 21:53                     ` Kai Germaschewski
2002-10-08 21:57                       ` Patrick Mochel
2002-10-08 22:51                         ` Alan Cox
2002-10-08 21:54                     ` Patrick Mochel
2002-10-08 22:12                     ` Linus Torvalds
2002-10-08 22:48                       ` Kai Germaschewski
2002-10-08 23:28                         ` Linus Torvalds
2002-10-08 22:29                     ` Greg KH
2002-10-08 21:30                 ` Greg KH

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=200210081325.g98DP6MY000340@darkstar.example.net \
    --to=jbradford@dial.pipex.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    --cc=torvalds@transmeta.com \
    --cc=viro@math.psu.edu \
    /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