Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 20:03:17 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern
Message-ID:  <4CC466D5.6080306@FreeBSD.org>
In-Reply-To: <201010241735.32876.bruce@cran.org.uk>
References:  <201010241631.o9OGVw1C033817@svn.freebsd.org> <201010241735.32876.bruce@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran wrote:
> On Sunday 24 October 2010 17:31:58 Bruce Cran wrote:
> 
>> Log:
>>   Mostly revert r203420, and add similar functionality into ada(4) since
>> the existing code caused problems with some SCSI controllers.

Proper way would be IMHO to fix polling in aac driver.

>>   A new sysctl kern.cam.ada.spindown_shutdown has been added that controls
>>   whether or not to spin-down disks when shutting down.
>>   Spinning down the disks unloads/parks the heads - this is
>>   much better than removing power when the disk is still
>>   spinning because otherwise an Emergency Unload occurs which may cause
>> damage to the actuator.
> 
> The FLUSH CACHE + STANDBY IMMEDIATE commands are issued (instead of just 
> SLEEP) following the procedure documented in Fujitsu's MHW series product 
> documentation under section 1.10.1, "Recommended power-off sequence".

Not instead of "just SLEEP", but instead of FLUSH CACHE (by respective
peripheral driver) + SLEEP (by xpt). It should probably be the same.

Just for the note, SCSI specification states that STOP automatically
implies FLUSH CACHE. ATA - doesn't.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC466D5.6080306>