• 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
Re: Query related to lookup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query related to lookup


  • Subject: Re: Query related to lookup
  • From: Ken Hornstein <email@hidden>
  • Date: Thu, 11 Apr 2013 08:58:07 -0400

>Only way to see lookup for every stat syscall, was to disable auth cache
>by calling vfs_setauthcache_ttl(mp, 0)
>
>That's why I am confused about this ttl value: what does it controls,
>why setting non-zero ttl doesn't result into periodic lookup calls.

I'll admit that code is a bit confusing to me, and figuring out what is
going on would take more time than I want to invest right now.

I've found that when I get in a situation like this, one of the most effective
ways of figuring out what is going on is using a two-machine kernel debugging
setup to inspect exactly what is happening.  The big issue there is setting
a breakpoint inside of the lookup path is going to be a challenge since
you'll be hitting that a lot.  But with some effort you can make it work.

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

References: 
 >RE: Query related to lookup (From: Pratima Kudale <email@hidden>)

  • Prev by Date: RE: Query related to lookup
  • Previous by thread: RE: Query related to lookup
  • Index(es):
    • Date
    • Thread