HomeFreeBSD

Suspend all writeable local filesystems on power suspend.

Description

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

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D27054: Suspend all writeable local filesystems on power suspend.
Parents
rS367397: Fix powerpc and powerpcspe builds
Branches
Unknown
Tags
Unknown