• 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: Doing file io from kernel IOKit driver context, again.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doing file io from kernel IOKit driver context, again.


  • Subject: Re: Doing file io from kernel IOKit driver context, again.
  • From: Terry Lambert <email@hidden>
  • Date: Fri, 11 Jun 2010 01:05:30 -0700

On Jun 10, 2010, at 4:42 PM, Chris Suter wrote:
Hi Mike,

On Fri, Jun 11, 2010 at 1:50 AM, Michael Smith <email@hidden> wrote:

A filesystem that honours F_LOG2PHYS need to guarantee that for the lifetime
of the descriptor, the translation remains valid.

Says who? HFS+ doesn't. And besides, as I said before, you don't get the extent length, so even if it did, it's still practically useless.

Call it multiple times on file system block size boundaries, as reported by f_bsize from doing a fstatfs. This is setup code which gets called only once, so it doesn't matter that it's not as efficient as it could be otherwise.


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


References: 
 >Doing file io from kernel IOKit driver context, again. (From: Inso Reiges <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Michael Smith <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Inso Reiges <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Joe Lowe <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Michael Smith <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Chris Suter <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Michael Smith <email@hidden>)
 >Re: Doing file io from kernel IOKit driver context, again. (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Doing file io from kernel IOKit driver context, again.
  • Next by Date: What is TimeOut ("idle time out") in launchd?
  • Previous by thread: Re: Doing file io from kernel IOKit driver context, again.
  • Next by thread: What is TimeOut ("idle time out") in launchd?
  • Index(es):
    • Date
    • Thread