HomeFreeBSD

In trimming on startup, invoke swapon before closing the fd used for

Description

In trimming on startup, invoke swapon before closing the fd used for
trimming so that a geli device isn't detached before swapon is
invoked.

Submitted by: sigsys_gmail.com
Discussed with: alc
Approved by: markj (mentor)
Differential Revision: https://reviews.freebsd.org/D21006

Details

Provenance
dougmAuthored on
Differential Revision
D21006: swapon before closing trimming fd
Parents
rS350182: Rename vm_page_{import,release}() to vm_page_zone_{import,release}().
Branches
Unknown
Tags
Unknown