From owner-freebsd-stable Tue Feb 12 23:24:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 5383537B400 for ; Tue, 12 Feb 2002 23:24:16 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1D7O9d97443; Tue, 12 Feb 2002 23:24:09 -0800 (PST) (envelope-from dillon) Date: Tue, 12 Feb 2002 23:24:09 -0800 (PST) From: Matthew Dillon Message-Id: <200202130724.g1D7O9d97443@apollo.backplane.com> To: Phil Homewood Cc: stable@FreeBSD.ORG Subject: Re: cvs commit: src/sys/ufs/ffs ffs_softdep.c References: <200202101911.g1AJBOk30917@apollo.backplane.com> <20020211010801.K8897-100000@patrocles.silby.com> <20020212090847.A3341@iv.nn.kiev.ua> <20020212102346.GF32279@moreton.com.au> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No, this reference is related to downgrading a RW filesystem into a RO filesystem. There was a softupdates bug related to that type of operation. It was fixed in -stable but was too late for the release. If you compile the latest -stable kernel the RW/RO downgrade bug should disappear. At the moment 'sync' does not completely sync a softupdates filesystem. You have to run it a bunch of times. It's because sync only makes one pass through the buffer cache and that isn't enough to unwind all the dependancies. -Matt Matthew Dillon :Valentin Nechayev wrote: :> I think the bug history is longer that supposed, and some explicit checks :> should be added. :> :> OTOH it is very strange that softupdates code doesn't react on sync(). :> At least, IMO, sync() should stimulate softupdates code to flush more quickly. :> As a variant, old ("asynchronous") Unix sync() behavior can be restored :> when sync() stimulates flushing, but doesn't return while previous flushing :> is in progress. : :Could this bug be related to what I and Bill Triplett described in : :http://docs.freebsd.org/cgi/getmsg.cgi?fetch=13966+0+archive/2002/freebsd-stable/20020203.freebsd-stable : :http://docs.freebsd.org/cgi/getmsg.cgi?fetch=849071+0+archive/2002/freebsd-stable/20020203.freebsd-stable : :? : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-stable" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message