From owner-freebsd-stable@FreeBSD.ORG Tue Jun 30 19:11:26 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 997801065672 for ; Tue, 30 Jun 2009 19:11:26 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from magnum.bit0.com (magnum.bit0.com [207.246.88.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6958FC18 for ; Tue, 30 Jun 2009 19:11:26 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from [172.27.0.11] (nat.bit0.com [207.246.88.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by magnum.bit0.com (Postfix) with ESMTPSA id CA7F3A1FA; Tue, 30 Jun 2009 15:11:25 -0400 (EDT) Message-ID: <4A4A6358.1010806@bit0.com> Date: Tue, 30 Jun 2009 15:11:20 -0400 From: Mike Andrews User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Jaakko Heinonen References: <20090630155437.GA42783@a91-153-125-115.elisa-laajakaista.fi> In-Reply-To: <20090630155437.GA42783@a91-153-125-115.elisa-laajakaista.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 30 Jun 2009 19:11:27 -0000 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: > > %%% > Index: sys/nfsserver/nfs_serv.c [snip] > Please report back if you try the patch. 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.