Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_da.c
Show First 20 Lines • Show All 1,532 Lines • ▼ Show 20 Lines | SYSCTL_INT(_kern_cam_da, OID_AUTO, default_timeout, CTLFLAG_RWTUN, | ||||
&da_default_timeout, 0, "Normal I/O timeout (in seconds)"); | &da_default_timeout, 0, "Normal I/O timeout (in seconds)"); | ||||
SYSCTL_INT(_kern_cam_da, OID_AUTO, send_ordered, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_cam_da, OID_AUTO, send_ordered, CTLFLAG_RWTUN, | ||||
&da_send_ordered, 0, "Send Ordered Tags"); | &da_send_ordered, 0, "Send Ordered Tags"); | ||||
SYSCTL_INT(_kern_cam_da, OID_AUTO, disable_wp_detection, CTLFLAG_RWTUN, | SYSCTL_INT(_kern_cam_da, OID_AUTO, disable_wp_detection, CTLFLAG_RWTUN, | ||||
&da_disable_wp_detection, 0, | &da_disable_wp_detection, 0, | ||||
"Disable detection of write-protected disks"); | "Disable detection of write-protected disks"); | ||||
SYSCTL_PROC(_kern_cam_da, OID_AUTO, default_softtimeout, | SYSCTL_PROC(_kern_cam_da, OID_AUTO, default_softtimeout, | ||||
CTLTYPE_UINT | CTLFLAG_RW, NULL, 0, dasysctlsofttimeout, "I", | CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | ||||
NULL, 0, dasysctlsofttimeout, "I", | |||||
"Soft I/O timeout (ms)"); | "Soft I/O timeout (ms)"); | ||||
TUNABLE_INT64("kern.cam.da.default_softtimeout", &da_default_softtimeout); | TUNABLE_INT64("kern.cam.da.default_softtimeout", &da_default_softtimeout); | ||||
/* | /* | ||||
* DA_ORDEREDTAG_INTERVAL determines how often, relative | * DA_ORDEREDTAG_INTERVAL determines how often, relative | ||||
* to the default timeout, we check to see whether an ordered | * to the default timeout, we check to see whether an ordered | ||||
* tagged transaction is appropriate to prevent simple tag | * tagged transaction is appropriate to prevent simple tag | ||||
* starvation. Since we'd like to ensure that there is at least | * starvation. Since we'd like to ensure that there is at least | ||||
▲ Show 20 Lines • Show All 5,020 Lines • Show Last 20 Lines |