Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Frank Filz
> On 02/16/2017 12:21 PM, Frank Filz wrote: > >> mdcache_readdir() checks !mdc_dircache_trusted(), and calls > >> mdcache_dirent_populate(), which calls mdcache_dirent_invalidate_all(). > > > > Ah, ok. Good. > > > > Path will be slightly re-worked with chunking, but will do that. > > > > I wonder

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Daniel Gryniewicz
On 02/16/2017 12:21 PM, Frank Filz wrote: >> mdcache_readdir() checks !mdc_dircache_trusted(), and calls >> mdcache_dirent_populate(), which calls mdcache_dirent_invalidate_all(). > > Ah, ok. Good. > > Path will be slightly re-worked with chunking, but will do that. > > I wonder if we should just

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Frank Filz
> mdcache_readdir() checks !mdc_dircache_trusted(), and calls > mdcache_dirent_populate(), which calls mdcache_dirent_invalidate_all(). Ah, ok. Good. Path will be slightly re-worked with chunking, but will do that. I wonder if we should just always mark contents un-trusted and then in readdir,

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Daniel Gryniewicz
mdcache_readdir() checks !mdc_dircache_trusted(), and calls mdcache_dirent_populate(), which calls mdcache_dirent_invalidate_all(). Daniel On 02/16/2017 11:23 AM, Frank Filz wrote: > Where does that happen? It wasn't clear to me. > > Frank > > Sent from my iPhone > >> On Feb 16, 2017, at 6:31

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Frank Filz
Where does that happen? It wasn't clear to me. Frank Sent from my iPhone > On Feb 16, 2017, at 6:31 AM, Daniel Gryniewicz wrote: > > The dirents will get cleared out the next time a readdir happens. > > Daniel > > On 02/16/2017 12:20 AM, Frank Filz wrote: >>> er, oh

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-16 Thread Daniel Gryniewicz
The dirents will get cleared out the next time a readdir happens. Daniel On 02/16/2017 12:20 AM, Frank Filz wrote: >> er, oh noes... > > The problem I think I see is that the directory never gets cleaned out in > this case... > > I get that we may not want to dispose of the dirents on the

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-15 Thread Frank Filz
> er, oh noes... The problem I think I see is that the directory never gets cleaned out in this case... I get that we may not want to dispose of the dirents on the upcall thread, but we should dispose of them the next time we do a lookup or readdir... Everything else that invalidates a

Re: [Nfs-ganesha-devel] Dirent invalidation on up call

2017-02-15 Thread Matt Benjamin
er, oh noes... Matt - Original Message - > From: "Frank Filz" > To: nfs-ganesha-devel@lists.sourceforge.net > Sent: Wednesday, February 15, 2017 7:43:40 PM > Subject: [Nfs-ganesha-devel] Dirent invalidation on up call > > I'm looking at when dirents are