Explain how and where kern.cam.ada.write_cache can be set in practical

situations.

Reviewed by:	hrs
Approved by:	mav
This commit is contained in:
Ivan Voras 2014-02-21 12:17:27 +00:00
parent 50a083457a
commit f31fd4758a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262294

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd February 8, 2012
.Dd February 21, 2014
.Dt ADA 4
.Os
.Sh NAME
@ -129,8 +129,13 @@ The default is currently enabled.
These variables determines whether device write cache should be enabled
globally or per-device or disabled.
Set to 1 to enable write cache, 0 to disable, -1 to leave it as-is.
Values modified in runtime take effect only after device reset.
The global default is currently enabled.
Values modified at runtime take effect only after device reset
.Pq using the reset subcommand of Xr camcontrol 8 .
Because of that, this setting should be changed in
.Pa /boot/loader.conf
instead of
.Pa /etc/sysctl.conf .
The global default is currently 1.
The per-device default is to leave it as-is (follow global setting).
.El
.Sh FILES