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 Nov 5 2020, 8:52 PM
Parents
rG6a32dae2b755: Fix powerpc and powerpcspe builds
Branches
Unknown
Tags
Unknown

Event Timeline