Summary: Re: Spin down HDD after disk sync or before power off

Bruce Cran bruce at cran.org.uk
Sun Oct 24 16:53:10 UTC 2010


On Sun, 24 Oct 2010 19:47:57 +0300
Alexander Motin <mav at FreeBSD.org> wrote:

> Comparing two ways implementing spindown, I've recalled that both of
> them using xpt_polled_action() method, which depends on working
> controller polling operation. So they could be almost equaly not good.
> But the method present in HEAD now is more universal. Looking on fact
> that need of spindown is not so obvious for SCSI devices (in SAN
> environments), we can just make kern.cam.power_down tunable a bitmask
> of supported protocols for now. Patch is attached.

I've just committed the patch to move the functionality into ada(4).
Should it be reverted?

-- 
Bruce Cran


More information about the freebsd-hackers mailing list