Date: Sun, 24 Oct 2010 20:08:54 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Bruce Cran <bruce@cran.org.uk> Cc: Alexander Best <arundel@freebsd.org>, freebsd-scsi@freebsd.org, Oliver Fromme <olli@lurza.secnetix.de>, freebsd-hackers@freebsd.org Subject: Re: Summary: Re: Spin down HDD after disk sync or before power off Message-ID: <4CC46826.9030700@FreeBSD.org> In-Reply-To: <20101024175306.00003c66@unknown> References: <201009161742.24228.tijl@coosemans.org> <201009161619.o8GGJAmv035378@lurza.secnetix.de> <20101018155944.GA12425@freebsd.org> <868w1r92rf.fsf@ds4.des.no> <20101021122110.GA65490@freebsd.org> <86zku77mj6.fsf@ds4.des.no> <20101021130730.GA72290@freebsd.org> <86r5fj7gin.fsf@ds4.des.no> <20101024011854.GB78293@freebsd.org> <4CC4633D.4070605@FreeBSD.org> <20101024175306.00003c66@unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran wrote: > On Sun, 24 Oct 2010 19:47:57 +0300 > Alexander Motin <mav@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? Both solutions are possible. I don't have strong enough position to hurry now, when it is already done. It would be nice to hear opinion of SCSI people whether this functionality needed/safe there. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC46826.9030700>