summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-09-18 18:54:29 +0000
committerkettenis <kettenis@openbsd.org>2014-09-18 18:54:29 +0000
commit20d92199adccc95d2e47d9e73c9574debdf16701 (patch)
tree68dd16ca634d98e3ffc3ee9888194e63ef517f3f /sys/kern/subr_hibernate.c
parentSome disks, such as the Seagate Cheetah 73LP FC with Sun firmware (diff)
downloadwireguard-openbsd-20d92199adccc95d2e47d9e73c9574debdf16701.tar.xz
wireguard-openbsd-20d92199adccc95d2e47d9e73c9574debdf16701.zip
Introduce config_suspend_all(9) a function that invokes config_suspend(9)
on all relevant device hierarchies in the appropriate order. For now this means mpath(4) and mainbus(4), doing mpath(4) before mainbus(4) when suspending or powering down and doing mpath(4) after mainbus(4) when resuming such that mpath(4) can realy on the underlying hardware being in a functional state. Fixes problems with unflushed disk caches on machines where mpath(4) takes control of some of your disks. ok dlg@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions