Subject: Re: powerhooks and SCSI disks
To: Michael Lorenz <macallan@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-kern
Date: 12/16/2005 18:44:03
On Fri, Dec 16, 2005 at 10:44:19AM -0500, Michael Lorenz wrote:
> Hello,
> 
> I'm currently looking for ways to improve power management on
> SPARCbooks, mainly adding things like some sort of standby mode, turning
> off unused peripherals and so on. We can for instance turn off power for
> the internl SCSI disk ( in case a drive wouldn't honour a motor stop
> command ) So, I have a few questions:
> - are there any objections against adding a power hook to sd so it would
>   flush the drive's cache before we're going to remove power?
> - is there anything to do after turning the drive back on to resume
>   operation? 

Please look at PR#31981.

Pavel Cahyna