Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-28 Thread Frank Filz
The cthon04 tests ended up failing, which was caused by a glitch in handling end of directory. This has been fixed, as well as an issue where we didn't properly NOT enumerate deleted entries. I have removed the WIP designation, I feel this is ready for testing. It is available in this github bra

Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-24 Thread Frank Filz
> > Another thought is to look at the nlinks in the directory and decide > > to cache or chunk. > > Please do not (invariantly) assume that nlinks is accurate until readdir() :) Sure. The nlinks would only be used as a hint as to whether to cache or not. Frank --- This email has been checked

Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-24 Thread Frank Filz
> On 02/23/2017 08:00 PM, Frank Filz wrote: > >> I have a first pass that works and passes pynfs! It isn't quite > >> correct in > > that a > >> rename into a directory or a create doesn't invalidate the dirent > >> cache > > and > >> thus a readdir might not show the new file. > >> > >> Unlink and

Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-24 Thread Daniel Gryniewicz
On 02/23/2017 08:00 PM, Frank Filz wrote: >> I have a first pass that works and passes pynfs! It isn't quite correct in > that a >> rename into a directory or a create doesn't invalidate the dirent cache > and >> thus a readdir might not show the new file. >> >> Unlink and rename out of a directory

Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-23 Thread Matt Benjamin
Hi, - Original Message - > > Another thought is to look at the nlinks in the directory and decide to > cache or chunk. Please do not (invariantly) assume that nlinks is accurate until readdir() :) Matt > > Thanks > > Frank > > > > --- > This email has been checked for viruses by

Re: [Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-23 Thread Frank Filz
> I have a first pass that works and passes pynfs! It isn't quite correct in that a > rename into a directory or a create doesn't invalidate the dirent cache and > thus a readdir might not show the new file. > > Unlink and rename out of a directory need not invalidate and should work > properly. >

[Nfs-ganesha-devel] Work in Progress Readdir Chunking Posted

2017-02-22 Thread Frank Filz
I have a first pass that works and passes pynfs! It isn't quite correct in that a rename into a directory or a create doesn't invalidate the dirent cache and thus a readdir might not show the new file. Unlink and rename out of a directory need not invalidate and should work properly. Also left to