[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 09:48:10 UTC 2016


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

--- Comment #3 from Tom Vijlbrief <tvijlbrief at gmail.com> ---
bufshutdown() ends with:


                if (panicstr == NULL) 
                        vfs_unmountall(); 
        } 
        swapoff_all(); 

Why not just reverse the order?

So swapoff_all() before the vfs_unmountall(), so that the NFS filesystem is
still available.

Perhaps even at the start of bufshutdown().

Still wondering what the reason of a swapoff_all() call just before the actual
reboot is.

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


More information about the freebsd-fs mailing list