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

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Tue, 8 Mar 2011 18:14:15 -0500 (EST)
> 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...
> 
Well, it will end up doing either a Readdir or ReaddirPlus RPC on the
wire. (The default for the FreeBSD client is Readdir, but that can be
changed with the "rdirplus" mount option.)

It looks like pjd_at_ has committed a patch that fixes the problem.

Thanks pjd_at_ for doing this, rick
Received on Tue Mar 08 2011 - 22:14:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC