Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 10:59:39 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Matthias Buelow <mkb@incubus.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: dangerous situation with shutdown process
Message-ID:  <1121698779.51580.15.camel@zappa.Chelsea-Ct.Org>
In-Reply-To: <200507181435.j6IEZVWG000889@drjekyll.mkbuelow.net>
References:  <200507181435.j6IEZVWG000889@drjekyll.mkbuelow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-07-18 at 16:35 +0200, Matthias Buelow wrote:
> Oliver Fromme <olli@lurza.secnetix.de> writes:
> 
> >buffers to disk.  While it is doing that, it displays the
> >number of remaining buffers, with increasing time intervals
> >between them.  If there are still buffers left after a
> >certain number of intervals without change, the kernel
> >gives up.
> 
> Why is it doing this? Can't it just enumerate the buffers and write
> them, one by one?

Why would that necessarily be more successful?  If the outstanding
buffers count is not reducing between time intervals, it is most likely
because there is some underlying hardware problem (e.g., a bad block).
If the count still persists in staying put, it likely means whatever the
hardware is doing to try and fix things (e.g., write reallocation) isn't
working, and so the kernel may as well give up.

You can enumerate the buffers and *try* to write them, but that doesn't
guarantee they will be written successfully any more than observing the
relative number left outstanding.

Cheers,

Paul.
-- 
e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa



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