summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctladm
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-17 17:30:54 +0000
committermav <mav@FreeBSD.org>2014-12-17 17:30:54 +0000
commit7582ed74ee7e571aa4515c5ade077d81b945f64e (patch)
tree286b0e7072ddf02598bdd7c81484177feb10040f /usr.sbin/ctladm
parentfe9781bb787e975c2a1cdb7bd6841ee161c31b2e (diff)
downloadFreeBSD-src-7582ed74ee7e571aa4515c5ade077d81b945f64e.zip
FreeBSD-src-7582ed74ee7e571aa4515c5ade077d81b945f64e.tar.gz
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). MFC after: 1 week
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 571a87a..2a5123a 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