diff options
author | mav <mav@FreeBSD.org> | 2014-09-13 08:55:22 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-09-13 08:55:22 +0000 |
commit | 20d551b720cdef4df77f1910630877f3b6a4d7a8 (patch) | |
tree | 54ec5d38ccd8953f0af469cc26253f914f031df6 /usr.sbin/ctladm | |
parent | 3d04a989df2ae6c0fb4728b68f2274714b25fd72 (diff) | |
download | FreeBSD-src-20d551b720cdef4df77f1910630877f3b6a4d7a8.zip FreeBSD-src-20d551b720cdef4df77f1910630877f3b6a4d7a8.tar.gz |
Add "readcache" and "writecache" LUN options to control default behavior.
Default values are "on". Disabling requires backend to support IO_DIRECT
and IO_SYNC flags respectively, or some alternatives.
Diffstat (limited to 'usr.sbin/ctladm')
-rw-r--r-- | usr.sbin/ctladm/ctladm.8 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8 index f58a760..b3cfc23 100644 --- a/usr.sbin/ctladm/ctladm.8 +++ b/usr.sbin/ctladm/ctladm.8 @@ -34,7 +34,7 @@ .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ .\" $FreeBSD$ .\" -.Dd July 9, 2014 +.Dd September 13, 2014 .Dt CTLADM 8 .Os .Sh NAME @@ -959,8 +959,12 @@ Setting to "on" allows EXTENDED COPY command sent to this LUN access other LUNs on this host, not accessible otherwise. This allows to offload copying between different iSCSI targets residing on the same host in trusted environments. +.It Va readcache +Set to "off", disables read caching for the LUN, if supported by the backend. .It Va unmap -Set to "on", enables UNMAP support for the LUN. +Set to "on", enables UNMAP support for the LUN, if supported by the backend. +.It Va writecache +Set to "off", disables write caching for the LUN, if supported by the backend. .El .Pp Options specific for block backend: |