Messages in this thread | | | Subject | Re: Calling suspend() in halt/restart/shutdown -> not a good idea | From | (Eric W. Biederman) | Date | Tue, 02 Aug 2005 08:40:25 -0600 |
| |
Pavel Machek <pavel@ucw.cz> writes:
> Hi! > >> Why are we calling driver suspend routines in these ? This is _not_ > > Well, reason is that if you remove device_suspend() you'll get > emergency hard disk park during powerdown. As harddrives can survive > only limited number of emergency stops, that is not a good idea.
Then the practical question is: do we suspend the disk by calling device_suspend() for every device. Or do we modify the ->shutdown() method for the disk.
Eric - 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/
| |