summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2018-02-10 05:24:23 +0000
committerderaadt <deraadt@openbsd.org>2018-02-10 05:24:23 +0000
commit976e983900b26f1c1815971efe0ad0990654d735 (patch)
treec90c173ad1fe96f8d75d1052c7bae0166ca8c7e7 /sys/net/if.c
parentfix build with SDHC_DEBUG defined, no binary change otherwise (diff)
downloadwireguard-openbsd-976e983900b26f1c1815971efe0ad0990654d735.tar.xz
wireguard-openbsd-976e983900b26f1c1815971efe0ad0990654d735.zip
Syncronize filesystems to disk when suspending. Each mountpoint's vnodes
are pushed to disk. Dangling vnodes (unlinked files still in use) and vnodes undergoing change by long-running syscalls are identified -- and such filesystems are marked dirty on-disk while we are suspended (in case power is lost, a fsck will be required). Filesystems without dangling or busy vnodes are marked clean, resulting in faster boots following "battery died" circumstances. Tested by numerous developers, thanks for the feedback.
Diffstat (limited to 'sys/net/if.c')
0 files changed, 0 insertions, 0 deletions