Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2004 06:48:41 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Scott Long <scottl@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Stable panic on shutdown: swapoff: failed to locate N swap blocks
Message-ID:  <20041016024840.GA50424@nagual.pp.ru>
In-Reply-To: <417089E6.8030105@freebsd.org>
References:  <20041015075641.GA6820@nagual.pp.ru> <20041015171144.GA69709@VARK.MIT.EDU> <20041015171700.GA74901@nagual.pp.ru> <20041016021131.GA72979@VARK.MIT.EDU> <417089E6.8030105@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 15, 2004 at 08:39:34PM -0600, Scott Long wrote:
> FWIW, I think that doing a swapoff in the shutdown path is just asking
> for trouble.  Fixing whatever bug this is would of course be nice, but
> the need for swapoff here is a hack and only opens up up to problems.

I agree. It looks like sort of race happens. Application (cvsupd) can be 
killed, but its inodes activity delayed by softupdates a bit more (just 
raw guess). I see no useful purpose to call swapoff(8) at shutdown stage, 
correct me, if I am not right.

-- 
Andrey Chernov | http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041016024840.GA50424>