9.3 NFS client bug?

Garrett Wollman wollman at csail.mit.edu
Wed Oct 8 15:25:20 UTC 2014


<<On Tue, 7 Oct 2014 21:20:41 -0400 (EDT), Rick Macklem <rmacklem at uoguelph.ca> said:

> As far as I know, this has never worked correctly for FreeBSD. The
> unlink() invalidates the directory offset cookies and then it has
> trouble finding the next entry.
> To make the above loop work correctly for FreeBSD, it needs to be
> re-written to start at the beginning of the directory after each
> unlink().

How about instead we fix FreeBSD to work properly?  Clearly it is not
impossible since the Linux NFS client does work.  What exactly is the
issue?  (Forgive me, I know very little about how VOP_READDIR works
under the hood.)

-GAWollman



More information about the freebsd-fs mailing list