From: jeffc@world.std.com (Jeffrey D Carter)
Subject: Re: [Q] syncing disks -- failure?
Date: 1995/05/26 [thread overview]
Message-ID: <D97Eq5.52C@world.std.com> (raw)
In-Reply-To: 3q2o5l$3ck@valhalla.cs.wright.edu
pedwards@valhalla.cs.wright.edu (Phil Edwards) writes:
> Occasionally, when one of our DEC Alpha 4000/610 AXP's running OSF/1
> 3.0 crashes, the disk sync will fail. When it does, a number is
> echoed to the screen several times, such as:
> syncing disks... 7 7 7 7 7 7 7 7 7 7 7 7 7 failed
> Nobody here knows what those numbers mean. It isn't critical that we
> find out, but I'm curious about these kinds of things, so if anybody
> out there is good at playing the "OSF/1 Trivia You'll Never Need
> Again" game, please fill me in. :-)
The numbers are a count of "dirty" buffers in the buffer cache remaining
to be written to disk (more accurately, it is a count of dirty buffers
to be _complete_ their writes to disk, since they are queued to the
driver between the "..." and the first 7).
The kernel loops, waiting for the count to go to zero before declaring
that it has synched the disks. The "failure" (and the non-decreasing
numbers) indicate that the code in question has interrupts disabled during
the loop. Amazingly enough :-) the disk driver is unable to interrupt
and mark the dirty buffers as clean, so the count doesn't go down...
Various versions of OSF/1 have this problem, it dates from the the
original code. If it only happens after panics, I wouldn't worry about it.
If it happens on normal shutdown, it is a bug that needs fixing. (The
code may also need a preempt point in certain cases, in addition to
enabling interrupts).
prev parent reply other threads:[~1995-05-26 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-25 4:00 [Q] syncing disks -- failure? Phil Edwards
1995-05-26 4:00 ` Jeffrey D Carter [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox