[#]
http://marc.info/?l=openbsd-cvs&m=141106652110465&w=2
openbsd-cvs(obsdave,2) — All
2014-09-18 23:55:05
Module name: src
Changes by: kettenis@cvs.openbsd.org 2014/09/18 12:54:29
Modified files:
sys/sys : device.h
sys/kern : subr_autoconf.c
Log message:
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@