RE: Query related to lookup
RE: Query related to lookup
- Subject: RE: Query related to lookup
- From: Pratima Kudale <email@hidden>
- Date: Thu, 28 Mar 2013 16:44:00 -0700
- Acceptlanguage: en-US
- Thread-topic: Query related to lookup
To receive lookup for every stat() I had to disable auth cache by calling: Vfs_setauthcache_ttl(mp, 0); Theoretically, I was thinking authentication caching controls ACLs and would avoid redundant VNOP_ACCESS calls. But how does it controls name lookup? Is this a expected behavior? Thanks, Pratima From: Pratima Kudale [mailto:email@hidden] Sent: Thursday, March 28, 2013 1:33 PM To: email@hidden Cc: Pratima Kudale Subject: Query related to lookup I have test program which has below pseudo logic: for(int i=0; i < 10; i++) On linux above program generate lookup for 1st stat call and for remaining 9 stat() syscall dentry d_revalidate() functions gets called. On mac osx, we receive lookup only once. Being a remote file system we would like to invalidate / revalidate name cache periodically. Does darwin kernel provide anyway to invalidate name cache periodically? |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden