From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 24 00:58:29 2008 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1D8106567B; Wed, 24 Sep 2008 00:58:29 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id DA7898FC14; Wed, 24 Sep 2008 00:58:29 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from np00112543bee7.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K7O00BWDDDARA30@asmtp014.mac.com>; Tue, 23 Sep 2008 17:58:29 -0700 (PDT) Message-id: From: Marcel Moolenaar To: Peter Grehan In-reply-to: <48D98E2C.1090606@freebsd.org> Date: Tue, 23 Sep 2008 17:58:21 -0700 References: <675B0620-77FE-4B99-AC98-C0002F8045F7@mac.com> <48D98E2C.1090606@freebsd.org> X-Mailer: Apple Mail (2.929.2) Cc: ppc@freebsd.org Subject: Re: ZFS race condition? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 00:58:30 -0000 On Sep 23, 2008, at 5:47 PM, Peter Grehan wrote: > Hi Marcel, > >> Anyone else playing with ZFS on PowerPC seeing this? > > It's on my todo list but you're a long way ahead of me :) I just happened to have a disk that I could use (one I use only for the release builds)... > You could try the 'null' stwcx in the context switch asm to flush > any pending reservations - I think I may have sent you mail about > this a long while back. This may result in two sections of code both > thinking they have a lock. Good call. I looked at that as part of the SMP work, but forgot about it already... Thanks, -- Marcel Moolenaar xcllnt@mac.com