Re: bdflush and postgres stuck in D state

From: David Rees (dbr@greenhydrant.com)
Date: Tue Sep 18 2001 - 16:08:20 EST


On Tue, Sep 18, 2001 at 10:49:10AM -0700, Andrew Morton wrote:
> Jakob Østergaard wrote:
> >
> > Sorry for following up on my own post, I have a little extra
> > information.
> >
> > I started a g++ job to try to force the machine to write out some dirty
> > buffers before I reboot. g++ now hangs along with two sync's, bdflush
> > and the postgres process.
> >
>
> Since 2.4.7 several bugs have been fixed in RAID1 which would
> cause this, including a missing blockdevice unplug and failure
> to hang onto the supposedly-reserved RAID1 buffer-heads.

Even kernels as recent as 2.4.9 have this bug. See this thread for more
info and a patch which fixes this bug.

The thread:
http://marc.theaimsgroup.com/?t=99911655500004&w=2&r=1

The patch:
http://marc.theaimsgroup.com/?l=linux-kernel&m=99913223508789&w=2

-Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:27 EST