summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctladm
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-24 13:49:40 +0000
committermav <mav@FreeBSD.org>2014-12-24 13:49:40 +0000
commit5d78bffe2b06e0aa6f7cd8c4dcd19ec5fcea8606 (patch)
treec19ffe3093bffd0602db95985d1f571e2edeb506 /usr.sbin/ctladm
parent7a82e24551b11b26164c99f1cf257be33793fdb0 (diff)
downloadFreeBSD-src-5d78bffe2b06e0aa6f7cd8c4dcd19ec5fcea8606.zip
FreeBSD-src-5d78bffe2b06e0aa6f7cd8c4dcd19ec5fcea8606.tar.gz
MFC r275865:
Add configuration options to override physical and UNMAP blocks geometry. While in most cases CTL should correctly fetch those values from backing storages, there are some initiators (like MS SQL), that may not like large physical block sizes, even if they are true. For such cases allow override fetched values with supported ones (like 4K).
Diffstat (limited to 'usr.sbin/ctladm')
-rw-r--r--usr.sbin/ctladm/ctladm.89
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/ctladm/ctladm.8 b/usr.sbin/ctladm/ctladm.8
index a30f4da..9c8a7a5 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 December 6, 2014
+.Dd December 17, 2014
.Dt CTLADM 8
.Os
.Sh NAME
@@ -1002,6 +1002,13 @@ Set to "off" to allow them be issued in parallel.
Parallel issue of consecutive operations may confuse logic of the
backing file system, hurting performance; but it may improve performance
of backing stores without prefetch/write-back.
+.It Va psectorsize
+.It Va psectoroffset
+Specify physical block size and offset of the device.
+.It Va usectorsize
+.It Va usectoroffset
+Specify UNMAP block size and offset of the device.
+.It Va rpm
.It Va rpm
Specifies medium rotation rate of the device: 0 -- not reported,
1 -- non-rotating (SSD), >1024 -- value in revolutions per minute.
OpenPOWER on IntegriCloud