Date: Wed, 3 Feb 2010 13:44:04 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Oliver Fromme <olli@lurza.secnetix.de>, freebsd-hackers@FreeBSD.ORG, alexbestms@wwu.de, jkim@FreeBSD.ORG Subject: Re: Spin down HDD after disk sync or before power off Message-ID: <alpine.BSF.2.00.1002031328060.9787@wonkity.com> In-Reply-To: <201002031343.o13Dhj7i052507@lurza.secnetix.de> References: <201002031343.o13Dhj7i052507@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Feb 2010, Oliver Fromme wrote: > Alexander Best wrote: > > imo this patch takes good care of the problem. would be nice to > > have it in HEAD. > > No -- *Please* make sure that the disks are only spun down > upon an actual power-off command (i.e. when reboot() is > called with the RB_POWEROFF flag). In all other cases the > disks should keep running. It's not good to have the disks > spin down and then immediately spin up again on every > reboot. Could you elaborate a little on why that's bad? It seems like it would be similar to a standby/resume action. Are there any other device drivers that differentiate the reboot and poweroff actions that could be used as inspiration or simply shamelessly copied in modifying ata-disk? -Warren Block * Rapid City, South Dakota USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1002031328060.9787>