HomeFreeBSD

MFC r350183, r350359

Description

MFC r350183, r350359

In trimming on startup, define swapon_trim() to invoke swapon before
closing the fd used for trimming so that a geli device isn't detached
before swapon is invoked. Add comments to explain the reason for the
ordering of events.

Reviewed by: alc
Approved by: markj (mentor, implicit)

Details

Provenance
dougmAuthored on
Parents
rS350494: powerpc/powernv: Only clear EEH freeze for some errors
Branches
Unknown
Tags
Unknown