From owner-cvs-all@FreeBSD.ORG Wed Nov 10 04:25:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 354B116A4CE; Wed, 10 Nov 2004 04:25:53 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A84F43D41; Wed, 10 Nov 2004 04:25:50 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) iAA4PlZV012112; Wed, 10 Nov 2004 06:25:47 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)iAA4PlXG012111; Wed, 10 Nov 2004 06:25:47 +0200 (SAST) (envelope-from jhay) Date: Wed, 10 Nov 2004 06:25:46 +0200 From: John Hay To: Pawel Jakub Dawidek Message-ID: <20041110042546.GA11403@zibbi.icomtek.csir.co.za> References: <200411092327.iA9NRLCS061474@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411092327.iA9NRLCS061474@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/geom/mirror g_mirror.c src/sys/geom/raid3 g_raid3.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 04:25:53 -0000 On Tue, Nov 09, 2004 at 11:27:21PM +0000, Pawel Jakub Dawidek wrote: > pjd 2004-11-09 23:27:21 UTC > > FreeBSD src repository > > Modified files: > sys/geom/mirror g_mirror.c > sys/geom/raid3 g_raid3.c > Log: > Before trying to update metadata (so open consumer for writing), be sure > that the events queue is empty. In other case we're able to hit the race > where for example da0s1 is tasted by some other class, which means that > da0 is open with exclusive bit set, which means that we can't open da0 > for writing if it is our component. > > Reported by: Attila Nagy (and somebody else sometime ago, > but I cannot find who it was) That might be me. Any chance of this going into RELENG_5? I would have been willing to try a -current kernel on the box, but with mount being incompatable, that is too much of a mission. I'll try patches though. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org