summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/sysctl/sysctl.84
-rw-r--r--share/man/man4/syncer.418
2 files changed, 16 insertions, 6 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 0187640..d50b23e 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -138,7 +138,9 @@ privilege can change the value.
.It kern.saved_ids integer no
.It kern.boottime struct no
.It kern.domainname string yes
-.It kern.update integer yes
+.It kern.filedelay integer yes
+.It kern.dirdelay integer yes
+.It kern.metadelay integer yes
.It kern.osreldate string no
.It kern.bootfile string yes
.It kern.corefile string yes
diff --git a/share/man/man4/syncer.4 b/share/man/man4/syncer.4
index 27ece74..95f2246 100644
--- a/share/man/man4/syncer.4
+++ b/share/man/man4/syncer.4
@@ -53,14 +53,22 @@ the
.Nm
process forces a write out to disk of its dirty buffers.
.Pp
-Usually,
-buffers will be written out no more than
-about 30 seconds
-after they are dirtied.
+The usual delay between the time buffers are dirtied
+and the time they are synced
+is controlled by the following
+.Xr sysctl 8
+tunable variables:
+.Bl -column "filedelayXXXX" "DefaultXX" "DescriptionXX"
+.It Em Variable Ta Em Default Ta Em Description
+.It Va kern.filedelay Ta 30 Ta "time to delay syncing files"
+.It Va kern.dirdelay Ta 29 Ta "time to delay syncing directories"
+.It Va kern.metadelay Ta 28 Ta "time to delay syncing metadata"
+.El
.Sh SEE ALSO
.Xr sync 2 ,
.Xr fsck 8 ,
-.Xr sync 8
+.Xr sync 8 ,
+.Xr sysctl 8
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud