diff options
author | mav <mav@FreeBSD.org> | 2011-04-07 08:17:53 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-04-07 08:17:53 +0000 |
commit | 34362862ece9b22394a253ec821244e22036fa0c (patch) | |
tree | 10fa191523aa01091e13d82cdb2a9197d2f83b17 /share | |
parent | d75443ce48c023f5f7cfe7a041b1a232d0a5b7d7 (diff) | |
download | FreeBSD-src-34362862ece9b22394a253ec821244e22036fa0c.zip FreeBSD-src-34362862ece9b22394a253ec821244e22036fa0c.tar.gz |
Make ada(4) driver to control device write cache, same as ata(4) does.
Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ada.4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man4/ada.4 b/share/man/man4/ada.4 index 87adac9..24f8e3a 100644 --- a/share/man/man4/ada.4 +++ b/share/man/man4/ada.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 24, 2010 +.Dd April 7, 2011 .Dt ADA 4 .Os .Sh NAME @@ -123,6 +123,11 @@ seconds. This variable determines whether to spin-down disks when shutting down. Set to 1 to enable spin-down, 0 to disable. The default is currently enabled. +.It kern.cam.ada.write_cache +.Pp +This variable determines whether device write cache should be enabled or not. +Set to 1 to enable write cache, 0 to disable, -1 to left it as-is. +The default is currently enabled. .El .Sh FILES .Bl -tag -width ".Pa /dev/ada*" -compact |