diff options
author | mav <mav@FreeBSD.org> | 2016-10-29 08:43:34 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-29 08:43:34 +0000 |
commit | 5a9a58e733788eadf1328ff94cbb9641f540bdcf (patch) | |
tree | f7c974899bdacd882e2c98897bcd16356ba5ac5a /usr.sbin | |
parent | d985e4e6ab52469f6efc11907a3270b26abfe220 (diff) | |
download | FreeBSD-src-5a9a58e733788eadf1328ff94cbb9641f540bdcf.zip FreeBSD-src-5a9a58e733788eadf1328ff94cbb9641f540bdcf.tar.gz |
MFC r307350: Add LUN options to limit UNMAP and WRITE SAME sizes.
CTL itself has no limits on on UNMAP and WRITE SAME sizes. But depending
on backends large requests may take too much time. To avoid that new
configuration options allow to hint initiator maximal sizes it should not
exceed.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ctladm/ctladm.8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8 index f034240..075c789 100644 --- a/usr.sbin/ctladm/ctladm.8 +++ b/usr.sbin/ctladm/ctladm.8 @@ -35,7 +35,7 @@ .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ .\" $FreeBSD$ .\" -.Dd September 26, 2015 +.Dd October 15, 2016 .Dt CTLADM 8 .Os .Sh NAME @@ -905,6 +905,13 @@ Specifies nominal form factor of the device: 0 -- not reported, 1 -- 5.25", 2 -- 3.5", 3 -- 2.5", 4 -- 1.8", 5 -- less then 1.8". .It Va unmap Set to "on", enables UNMAP support for the LUN, if supported by the backend. +.It Va unmap_max_lba +.It Va unmap_max_descr +Specify maximum allowed number of LBAs and block descriptors per UNMAP +command to report in Block Limits VPD page. +.It Va write_same_max_lba +Specify maximum allowed number of LBAs per WRITE SAME command to report +in Block Limits VPD page. .It Va avail-threshold .It Va used-threshold .It Va pool-avail-threshold |