• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Query related to lookup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Query related to lookup
      • From: Ken Hornstein <email@hidden>
    • RE: Query related to lookup
      • From: Pratima Kudale <email@hidden>
  • Prev by Date: Re: 4Kn drives, allocation block size
  • Next by Date: RE: Query related to lookup
  • Previous by thread: Re: 4Kn drives, allocation block size
  • Next by thread: RE: Query related to lookup
  • Index(es):
    • Date
    • Thread