> 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
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
> 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,
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
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
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
> 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
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