[Bug 206328] Crash on shutdown with swap on NFS file (with patch)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 18 17:39:47 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206328

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

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

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

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


More information about the freebsd-fs mailing list