Messages in this thread | | | Date | Thu, 6 May 2004 08:55:49 +0100 | From | Christoph Hellwig <> | Subject | Re: Force IDE cache flush on shutdown |
| |
On Thu, May 06, 2004 at 09:50:44AM +0200, Arjan van de Ven wrote: > > Please don't use reboot notifiers in new driver code. The driver > > model has a ->shutdown method for that. > > there is somewhat of a problem with that; the reboot command potentially > runs from the disk in question, so that might never get called since that > will keep things busy.
shutdown != remove. Shutdown is called for all devices on shutdown, remove isn't called at all at reboot.
- 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/
| |