Re: [patch] IDE driver model update

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 07:21:08 EST


On Tue, 2002-10-08 at 03:17, Alexander Viro wrote:
> _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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:24 EST