summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-10-08 21:47:45 +0000
committerderaadt <deraadt@openbsd.org>2012-10-08 21:47:45 +0000
commit1e4b376cc93a4177cfbe219c9001277edc699d6c (patch)
tree3a10a5466f2dc80a042bbdf6dadcba6f503a8dee /sys/dev/softraid.c
parentdisk space is cheap but we still want to limit the default size of a body (diff)
downloadwireguard-openbsd-1e4b376cc93a4177cfbe219c9001277edc699d6c.tar.xz
wireguard-openbsd-1e4b376cc93a4177cfbe219c9001277edc699d6c.zip
Revamp the sequences for suspend/hibernate -> resume so that the code
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions