Re: Query related to lookup
Re: Query related to lookup
- Subject: Re: Query related to lookup
- From: Ken Hornstein <email@hidden>
- Date: Mon, 08 Apr 2013 16:03:18 -0400
>>>So, in summary:
>>>
>>>- Use VFS_CANTCACHE
>>>- Don't call cache_enter().
>
>Which means implement your own name cache ...
Yeah, well ... I only report the news, not make it. I mean, if you
want your lookup routine to be called every time, that's what you
have to do.
>I wanted to solve
>this problem using OSx built-in name cache. We also have directory
>notification callback mechanism where we can call cache_purge(). But I
>wanted to raise/verify my concern on whether or not VFS layer from OSx
>kernel supports "time-to-live" for a vnode like linux / freeebsd dentry.
Errr ... is there a TTL for FreeBSD vnodes? That's news to me, but
hey, sounds interesting. Where is that code at, anyway? A very quick
perusal of the FreeBSD sources didn't show that, but it's totally easy for
me to have missed it.
--Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden