Date: Sat, 16 Oct 2004 21:36:58 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: pjd@FreeBSD.org Cc: current@FreeBSD.org Subject: Re: Stable panic on shutdown: swapoff: failed to locate N swap blocks Message-ID: <200410170437.i9H4axB4085154@gw.catspoiler.org> In-Reply-To: <20041016062115.GS73767@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Oct, Pawel Jakub Dawidek wrote: > On Sat, Oct 16, 2004 at 08:54:47AM +0400, Andrey Chernov wrote: > +> On Sat, Oct 16, 2004 at 12:47:31AM -0400, David Schultz wrote: > +> > Pawel has a patch that moves the swapoff() later in the shutdown > +> > sequence, after all user processes have been killed. It should > +> > make swapoff() basically a no-op / sanity check, since nothing > +> > should actually be paged out at that point. > +> > +> Forward it to me, please, I'll test it. > > http://people.freebsd.org/~pjd/patches/swapoff_all.patch > This should probably be combined with vfs_umountall() to handle the mutual interdependencies between regular file systems, file systems stored on swap-backed md devices, and vnode-backed md devices used for swap. I have no idea how difficult this might be to implement. Hopefully nobody swaps to a vnode-backed md device that resides in a file system that is stored on a swap-backed md device ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410170437.i9H4axB4085154>