From owner-freebsd-current@FreeBSD.ORG Tue Mar 8 07:43:42 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB8B106566B; Tue, 8 Mar 2011 07:43:42 +0000 (UTC) (envelope-from pb@fasterix.frmug.org) Received: from fasterix.frmug.org (unknown [IPv6:2a01:e35:8b50:2c40::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED308FC19; Tue, 8 Mar 2011 07:43:42 +0000 (UTC) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.14.4/8.14.3) with ESMTP id p287he9q094034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Mar 2011 08:43:40 +0100 (CET) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.14.4/8.14.4/Submit) id p287heTq094033; Tue, 8 Mar 2011 08:43:40 +0100 (CET) (envelope-from pb) Date: Tue, 8 Mar 2011 08:43:40 +0100 From: Pierre Beyssac To: Rick Macklem Message-ID: <20110308074340.GA93957@fasterix.frmug.org> References: <20110307000846.GA33085@fasterix.frmug.org> <505157381.959522.1299539563484.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <505157381.959522.1299539563484.JavaMail.root@erie.cs.uoguelph.ca> X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to worms and viruses User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, pjd@freebsd.org Subject: Re: missing files in readdir(3) on NFS export of ZFS volume (since v28?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 07:43:42 -0000 Hello Rick, Thanks for your reply. On Mon, Mar 07, 2011 at 06:12:43PM -0500, Rick Macklem wrote: > Readdir (in both NFS servers) depends on ZFS to reply EOPNOTSUPP for > VFS_VGET() when it cannot be done, so that Readdir will switch to > using VP_LOOKUP(). Just a wild guess, but maybe ZFS v28 isn't doing > this? My client was plain and simple ls(1). I said readdir(3) because I wrongly assumed ls used that, but actually from looking at the code it looks like it uses fts_open(3) and friends instead... -- Sent from my FreeBSD server Pierre Beyssac pb@fasterix.frmug.org