da.4: Add some sysctl descriptions
Add descriptions for the following sysctl's: - kern.cam.da.default_softtimeout - kern.cam.da.disable_wp_protection - kern.cam.da.enable_biospeedup - kern.cam.da.enable_uma_ccbs - kern.cam.da.poll_period - kern.cam.da.send_ordered While here, fix some mandocs warnings. PR: 258727 Reported by: Felix Johnson <felix dot the dot red at gmail dot com> Reviewed by: debdrup, pauamma, gbe MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D32278
This commit is contained in:
parent
1b7f08b917
commit
53af9c235f
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd December 20, 2017
|
.Dd September 10, 2022
|
||||||
.Dt DA 4
|
.Dt DA 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -133,6 +133,36 @@ variables and
|
|||||||
.Xr loader 8
|
.Xr loader 8
|
||||||
tunables:
|
tunables:
|
||||||
.Bl -tag -width 12
|
.Bl -tag -width 12
|
||||||
|
.It Va kern.cam.da.default_softtimeout
|
||||||
|
Soft I/O timeout (ms). The default is 0.
|
||||||
|
Attempting to set this value to a
|
||||||
|
time span longer than
|
||||||
|
.It kern.cam.da.default_timeout
|
||||||
|
will return
|
||||||
|
.Dv EINVAL .
|
||||||
|
.It Va kern.cam.da.default_timeout
|
||||||
|
This variable determines how long the
|
||||||
|
.Nm
|
||||||
|
driver will wait before timing out an outstanding command.
|
||||||
|
The units for this value are seconds, and the default is currently 60
|
||||||
|
seconds.
|
||||||
|
.It Va kern.cam.da.disable_wp_protection
|
||||||
|
Disable detection of write-protected disks.
|
||||||
|
Default is disabled.
|
||||||
|
.Po
|
||||||
|
detection of write-protected disks is enabled
|
||||||
|
.Pc .
|
||||||
|
.It Va kern.cam.da.enable_biospeedup
|
||||||
|
Enable
|
||||||
|
.Dv BIO_SPEEDUP
|
||||||
|
processing.
|
||||||
|
Default is enabled.
|
||||||
|
.It Va kern.cam.da.enable_uma_ccbs
|
||||||
|
Use UMA for CCBs.
|
||||||
|
Default is enabled.
|
||||||
|
.It Va kern.cam.da.poll_period
|
||||||
|
Media polling period in seconds.
|
||||||
|
Default is 3 seconds.
|
||||||
.It Va kern.cam.da.retry_count
|
.It Va kern.cam.da.retry_count
|
||||||
This variable determines how many times the
|
This variable determines how many times the
|
||||||
.Nm
|
.Nm
|
||||||
@ -142,19 +172,20 @@ the
|
|||||||
.Nm
|
.Nm
|
||||||
driver dump routine.
|
driver dump routine.
|
||||||
This value currently defaults to 4.
|
This value currently defaults to 4.
|
||||||
.It Va kern.cam.da.default_timeout
|
.It Va kern.cam.da.send_ordered
|
||||||
This variable determines how long the
|
Send Ordered Tags.
|
||||||
|
On shutdown, step through all the
|
||||||
.Nm
|
.Nm
|
||||||
driver will wait before timing out an outstanding command.
|
peripheral drivers, and if the device is still open,
|
||||||
The units for this value are seconds, and the default is currently 60
|
sync the disk to physical media.
|
||||||
seconds.
|
Default is enabled.
|
||||||
.It Va kern.cam.sort_io_queue
|
.It Va kern.cam.sort_io_queue
|
||||||
.It Va kern.cam.da. Ns Ar X Ns Va .sort_io_queue
|
.It Va kern.cam.da . Ns Ar X Ns Va .sort_io_queue
|
||||||
These variables determine whether request queue should be sorted trying
|
These variables determine whether request queue should be sorted trying
|
||||||
to optimize head seeks.
|
to optimize head seeks.
|
||||||
Set to 1 to enable sorting, 0 to disable, -1 to leave it as-is.
|
Set to 1 to enable sorting, 0 to disable, -1 to leave it as-is.
|
||||||
The default is sorting enabled for HDDs and disabled for SSDs.
|
The default is sorting enabled for HDDs and disabled for SSDs.
|
||||||
.It Va kern.cam.da. Ns Ar X Ns Va .delete_method
|
.It Va kern.cam.da . Ns Ar X Ns Va .delete_method
|
||||||
This variable specifies method to handle BIO_DELETE requests:
|
This variable specifies method to handle BIO_DELETE requests:
|
||||||
.Bl -tag -width "ATA_TRIM"
|
.Bl -tag -width "ATA_TRIM"
|
||||||
.It ATA_TRIM
|
.It ATA_TRIM
|
||||||
@ -170,7 +201,7 @@ WRITE SAME(10) command without UNMAP flag,
|
|||||||
.It DISABLE
|
.It DISABLE
|
||||||
disable BIO_DELETE support.
|
disable BIO_DELETE support.
|
||||||
.El
|
.El
|
||||||
.It Va kern.cam.da. Ns Ar X Ns Va .minimum_cmd_size
|
.It Va kern.cam.da . Ns Ar X Ns Va .minimum_cmd_size
|
||||||
This variable determines what the minimum READ/WRITE CDB size is for a
|
This variable determines what the minimum READ/WRITE CDB size is for a
|
||||||
given
|
given
|
||||||
.Nm
|
.Nm
|
||||||
|
Loading…
Reference in New Issue
Block a user