From owner-freebsd-fs@FreeBSD.ORG Wed Sep 8 22:41:45 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E27110656EB for ; Wed, 8 Sep 2010 22:41:45 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCE38FC08 for ; Wed, 8 Sep 2010 22:41:44 +0000 (UTC) Received: by gwb15 with SMTP id 15so103124gwb.13 for ; Wed, 08 Sep 2010 15:41:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.73.142 with SMTP id q14mr494952qcj.26.1283985699887; Wed, 08 Sep 2010 15:41:39 -0700 (PDT) Received: by 10.229.214.199 with HTTP; Wed, 8 Sep 2010 15:41:39 -0700 (PDT) X-Originating-IP: [69.91.158.216] In-Reply-To: <3705884.579377.1283909249721.JavaMail.root@erie.cs.uoguelph.ca> References: <3705884.579377.1283909249721.JavaMail.root@erie.cs.uoguelph.ca> Date: Wed, 8 Sep 2010 15:41:39 -0700 Message-ID: From: David Brodbeck To: Rick Macklem Content-Type: multipart/mixed; boundary=00163646d8e289dff0048fc737d3 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 22:41:45 -0000 --00163646d8e289dff0048fc737d3 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 7, 2010 at 6:27 PM, Rick Macklem wrote: >> On Fri, Sep 3, 2010 at 5:55 PM, Rick Macklem >> wrote: >> > So, please try the attached little patch that just disables the >> > server >> > check for this case for Close. (The line #s will be different than >> > 8.1, but all it is doing is commenting out the test for this case in >> > nfsrv_openupdate(), if the patch won't apply directly.) >> >> This seems to have changed the problem. Now I get the following error >> during checkouts: >> >> svn: In directory 'documentation/software-notes' >> svn: Can't copy >> 'documentation/software-notes/.svn/tmp/text-base/directory-server-install-notes.txt.svn-base' >> to >> 'documentation/software-notes/.svn/tmp/directory-server-install-notes.txt.tmp.tmp': >> Input/output error >> >> I don't see any related errors in the syslog on the client or server. >> >> This is on FreeBSD 8.1-RELEASE; I'm going to try to test with 9 later >> today. >> > Ok, if you feel like emailing me another packet capture, I can look and > see where the EIO is being returned. OK, here's another packet capture. I spent some time trying to find the minimal checkout that would demonstrate the problem, in order to minimize the size of the capture. It turns out checking out several zero-length files will not trigger the problem. (It would, however, trigger the original issue the patch was trying to solve.) Checking out a single file with some text in it works, though, so this is a checkout of a single file called "a.txt" inside a directory called "bsd-test". --00163646d8e289dff0048fc737d3--