missing files in readdir(3) on NFS export of ZFS volume (since v28?)

Pierre Beyssac pb at fasterix.frmug.org
Tue Mar 8 07:43:42 UTC 2011


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 at fasterix.frmug.org


More information about the freebsd-current mailing list