Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2011 08:43:40 +0100
From:      Pierre Beyssac <pb@fasterix.frmug.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-current@freebsd.org, pjd@freebsd.org
Subject:   Re: missing files in readdir(3) on NFS export of ZFS volume (since v28?)
Message-ID:  <20110308074340.GA93957@fasterix.frmug.org>
In-Reply-To: <505157381.959522.1299539563484.JavaMail.root@erie.cs.uoguelph.ca>
References:  <20110307000846.GA33085@fasterix.frmug.org> <505157381.959522.1299539563484.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110308074340.GA93957>