From owner-freebsd-stable@FreeBSD.ORG Wed Jul 1 09:08:27 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30D27106564A; Wed, 1 Jul 2009 09:08:27 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by mx1.freebsd.org (Postfix) with ESMTP id E264B8FC12; Wed, 1 Jul 2009 09:08:26 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from a91-153-125-115.elisa-laajakaista.fi (a91-153-125-115.elisa-laajakaista.fi [91.153.125.115]) by gw01.mail.saunalahti.fi (Postfix) with SMTP id D997B1515BB; Wed, 1 Jul 2009 12:08:18 +0300 (EEST) Date: Wed, 1 Jul 2009 12:08:18 +0300 From: Jaakko Heinonen To: Mike Andrews Message-ID: <20090701090818.GA1391@a91-153-125-115.elisa-laajakaista.fi> References: <20090630155437.GA42783@a91-153-125-115.elisa-laajakaista.fi> <4A4A6358.1010806@bit0.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A4A6358.1010806@bit0.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Rick Romero , Gavin Atkinson , freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: kern/135412: [zfs] [nfs] zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 09:08:27 -0000 On 2009-06-30, Mike Andrews wrote: > Jaakko Heinonen wrote: > > On 2009-06-30, Danny Braniss wrote: > >> This pr is realy holding me back, I can't upgrade this server, and > >> telling serveral tens of users to us cp, etc is not an option. The open > >> works fine if not using O_EXCL. > > > > I guess that r185586 needs to be MFCd to stable/7. Here's an untested > > patch against stable/7: > > The patch doesn't help over here, sorry. > > Simply doing 'touch' or 'mv' to an NFSv3 mount (using either a v6 or v13 > zpool) is the test case I've been using; touch doesn't even use O_EXCL as > far as I can tell. I could reproduce the problem with O_EXCL and verified that the patch fixes it. However I couldn't reproduce the problem you are seeing with touch and mv. -- Jaakko