Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 17:39:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 206328] Crash on shutdown with swap on NFS file (with patch)
Message-ID:  <bug-206328-3630-Ul76sxSA2X@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206328-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206328-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206328

--- Comment #4 from Tom Vijlbrief <tvijlbrief@gmail.com> ---
Created attachment 165768
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165768&action=
=3Dedit
Proposed patch

Do swapoff_all() BEFORE unmounting the filesystems, so that an NFS swap fil=
e is
not orphaned.

This prevents a panic on reboot/halt or when shutdown cannot do a successfu=
ll
swapoff due to insufficient working memory.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206328-3630-Ul76sxSA2X>