Lost buffers with mounted ext2fs

Tai-hwa Liang avatar at mmlab.cse.yzu.edu.tw
Sun Jun 20 01:23:58 GMT 2004


On Sat, 19 Jun 2004, Stefan Ehmann wrote:
> On Fri, 2004-06-18 at 20:38, Michael Nottebrock wrote:
> > IIRC this is a known bug (always 1 buffer left on reboot if any ext2
> > filesystems are mounted (rw?, didn't check if ro also triggers it) at
> > reboot/shutdown time, causing _all_ filesystems which were mounted rw to be
> > left dirty).
> >
> > Does anybody have a fix yet? I'm currently using
> > http://people.freebsd.org/~lofi/rc.shutdown.diff as a workaround...
>
> Yes, this is a bug that was introduced sometime last year:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675
>
> This also happens if the ext2fs is mounted ro.
>
> AFAIK there is no fix available. I'd appreciate it very much though.

Sometimes I run into this behaviour even on a -CURRENT box without
ext2fs.ko loaded. Though it's fairly hard to reproduce this lost buffer
scenario, I'm wondering about whether this bug is not limited to ext2fs,
but also UFS2 and smbfs?


More information about the freebsd-current mailing list