From owner-freebsd-current@FreeBSD.ORG Sun Jun 20 01:23:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BECD416A4CE for ; Sun, 20 Jun 2004 01:23:58 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D3E843D31 for ; Sun, 20 Jun 2004 01:23:58 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 695044EFCD3; Sun, 20 Jun 2004 09:23:44 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 603BD4EFCD0; Sun, 20 Jun 2004 09:23:44 +0800 (CST) Date: Sun, 20 Jun 2004 09:23:44 +0800 (CST) From: Tai-hwa Liang To: Stefan Ehmann In-Reply-To: <1087638025.75930.8.camel@taxman> Message-ID: <0406200917439.18135@www.mmlab.cse.yzu.edu.tw> References: <200406182038.34203.michaelnottebrock@gmx.net> <1087638025.75930.8.camel@taxman> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Lost buffers with mounted ext2fs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2004 01:23:58 -0000 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?