On Wed, Jan 28, 2004 at 03:03:31AM +0100, Roman Zippel wrote: > Hi, > > On Tue, 27 Jan 2004, Greg KH wrote: > > > > All this is done without a module count, this means that > > > pci_unregister_driver() cannot return before the last reference is gone. > > > For network devices this is not that much of a problem, as they can be > > > rather easily deconfigured automatically, but that's not that easy for > > > mounted block devices, so one has to be damned careful when to call the > > > exit function. > > > > Um, not anymore. I can yank out a mounted block device and watch the > > scsi core recover just fine. The need to make everything hotpluggable > > has fixed up a lot of issues like this (as well as made more > > problems...) > > Recovery of the scsi core is IMO one the smallest problems, but how do you > recover at the block layer? The point is that you have here theoretically > more one recovery strategy, but simply pulling out the module leaves you > not much room for a controlled recovery. Block layer is not too big issue. We have almost everything in the tree already - the main problem is to get check_disk_change() use regularized. Now, sound and character devices in general... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups: References:
- Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model coreAlan Stern
- Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model coreLinus Torvalds
- Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model coreRoman Zippel
- Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model coreGreg KH
- Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model coreRoman Zippel
- Prev by Date: 2.6.2-rc2-bk1 oopses on boot (ACPI patch)
- Next by Date: Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model core
- Previous by thread: Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model core
- Next by thread: Re: PATCH: (as177) Add class_device_unregister_wait() andplatform_device_unregister_wait() to the driver model core
- Indexes:[Main][Thread]