freebsd-skq/sys/dev/xen
Konstantin Belousov f10845877e Suspend all writeable local filesystems on power suspend.
This ensures that no writes are pending in memory, either metadata or
user data, but not including dirty pages not yet converted to fs writes.

Only filesystems declared local are suspended.

Note that this does not guarantee absence of the metadata errors or
leaks if resume is not done: for instance, on UFS unlinked but opened
inodes are leaked and require fsck to gc.

Reviewed by:	markj
Discussed with:	imp
Tested by:	imp (previous version), pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D27054
2020-11-05 20:52:49 +00:00
..
balloon dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
blkback dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
blkfront dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
console tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
control Suspend all writeable local filesystems on power suspend. 2020-11-05 20:52:49 +00:00
debug
evtchn dev/xenstore: fix return with locks held 2020-05-20 11:01:10 +00:00
gntdev Convert allocations of the phys pager to vm_pager_allocate(). 2020-09-08 23:38:49 +00:00
grant_table dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
netback dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
netfront dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
pci
pcifront dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
privcmd
pvcpu
timer
xenpci dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00
xenstore dev/xen: clean up empty lines in .c and .h files 2020-09-01 21:45:08 +00:00