mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay
and kern.metadelay, thanks to mckusick's feedback.
This commit is contained in:
parent
9516ffa7c0
commit
733144d91d
2 changed files with 16 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue