Date: Wed, 8 Oct 2014 11:25:17 -0400 From: Garrett Wollman <wollman@csail.mit.edu> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-fs@freebsd.org Subject: Re: 9.3 NFS client bug? Message-ID: <21557.22365.961980.709081@khavrinen.csail.mit.edu> In-Reply-To: <1402889337.60119616.1412731241078.JavaMail.root@uoguelph.ca> References: <21556.24590.269326.188103@khavrinen.csail.mit.edu> <1402889337.60119616.1412731241078.JavaMail.root@uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 7 Oct 2014 21:20:41 -0400 (EDT), Rick Macklem <rmacklem@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21557.22365.961980.709081>