Query related to lookup
Query related to lookup
- Subject: Query related to lookup
- From: Pratima Kudale <email@hidden>
- Date: Thu, 28 Mar 2013 13:32:59 -0700
I have test program which has below pseudo logic:
for(int i=0; i < 10; i++)
{
stat(path, &st);
sleep(2 secs);
}
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?
Thanks,
Pratima
_______________________________________________
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