summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ada.4
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-10-24 16:31:57 +0000
committerbrucec <brucec@FreeBSD.org>2010-10-24 16:31:57 +0000
commit41dcd4566c627593cdaa04a32255183275a4ea8a (patch)
tree4019b8189051d088b2d67a8077bdfb792575305d /share/man/man4/ada.4
parentd5b2b0a30ff2f9f2c524005c77d18d36f4c37565 (diff)
downloadFreeBSD-src-41dcd4566c627593cdaa04a32255183275a4ea8a.zip
FreeBSD-src-41dcd4566c627593cdaa04a32255183275a4ea8a.tar.gz
Mostly revert r203420, and add similar functionality into ada(4) since the
existing code caused problems with some SCSI controllers. 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. PR: kern/140752 Submitted by: olli Reviewed by: arundel Discussed with: mav MFC after: 2 weeks
Diffstat (limited to 'share/man/man4/ada.4')
-rw-r--r--share/man/man4/ada.43
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man4/ada.4 b/share/man/man4/ada.4
index cba892b..d16a5ea 100644
--- a/share/man/man4/ada.4
+++ b/share/man/man4/ada.4
@@ -118,6 +118,9 @@ This variable determines how long the
driver will wait before timing out an outstanding command.
The units for this value are seconds, and the default is currently 30
seconds.
+.It kern.cam.ada.spindown_shutdown
+.Pp
+This variable determines whether to spin-down disks when shutting down.
.El
.Sh FILES
.Bl -tag -width ".Pa /dev/ada*" -compact
OpenPOWER on IntegriCloud