From owner-freebsd-fs@FreeBSD.ORG Fri Sep 10 17:43:24 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 CD29F1065672 for ; Fri, 10 Sep 2010 17:43:24 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 92F608FC17 for ; Fri, 10 Sep 2010 17:43:24 +0000 (UTC) Received: by qwg5 with SMTP id 5so1828898qwg.13 for ; Fri, 10 Sep 2010 10:43:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.60.136 with SMTP id p8mr558655qah.330.1284140603310; Fri, 10 Sep 2010 10:43:23 -0700 (PDT) Received: by 10.229.214.199 with HTTP; Fri, 10 Sep 2010 10:43:22 -0700 (PDT) X-Originating-IP: [64.81.163.112] In-Reply-To: <139628434.645718.1284006483409.JavaMail.root@erie.cs.uoguelph.ca> References: <139628434.645718.1284006483409.JavaMail.root@erie.cs.uoguelph.ca> Date: Fri, 10 Sep 2010 10:43:22 -0700 Message-ID: From: David Brodbeck To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 10 Sep 2010 17:43:24 -0000 On Wed, Sep 8, 2010 at 9:28 PM, Rick Macklem wrote: > Please try the attached patch, which changes the macro so that it > compares the entire "struct fid". (I think that is safe, since I > bzero() the entire structure before calling VOP_VPTOFH().) > > Again, thanks for sending the packet traces and, hopefully, this > patch will do the trick, rick Rick, after doing some testing I'm pretty confident that this patch (nfsdport.patch) has solved both the original problem and the I/O error problem. I'm glad I could help. I know how tricky to debug these interoperability problems can be.