From owner-freebsd-fs Fri May 11 18:41:10 2001 Delivered-To: freebsd-fs@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 7527637B43E; Fri, 11 May 2001 18:41:06 -0700 (PDT) (envelope-from bp@butya.kz) Received: by relay.butya.kz (Postfix, from userid 1000) id 8FE9328C0A; Sat, 12 May 2001 08:40:59 +0700 (ALMST) Received: from localhost (localhost [127.0.0.1]) by relay.butya.kz (Postfix) with ESMTP id 82F2128C09; Sat, 12 May 2001 08:40:59 +0700 (ALMST) Date: Sat, 12 May 2001 08:40:59 +0700 (ALMST) From: Boris Popov To: Ian Dowse Cc: freebsd-fs@freebsd.org, phk@freebsd.org Subject: Re: vflush() In-Reply-To: <200105112219.aa94946@salmon.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 11 May 2001, Ian Dowse wrote: > In message <200105092238.aa48273@salmon.maths.tcd.ie>, Ian Dowse writes: > > > >All this suggests that vflush() should subsume the logic for dealing > >with the reference count on the filesystem root vnode. This would > >simplify the xxx_umount() functions and permits the FORCECLOSE > >problem to be solved for all 9 filesystems in one place. > > A working version of a patch that achieves this is at: > > http://www.maths.tcd.ie/~iedowse/FreeBSD/vflush_patch I haven't checked its functionality for each filesystem type, but patch looks good and perfectly centralizes another common part of the code. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message