lkml.org 
[lkml]   [2004]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.151 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site