• 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: Chris Suter <email@hidden>
  • Date: Thu, 10 Jun 2010 12:20:13 +1000

On Thu, Jun 10, 2010 at 11:49 AM, Michael Smith <email@hidden> wrote:

> These filesystems will reject F_LOG2PHYS, which is generally a good safety
> net.

I've come to this thread late, but unless I'm mistaken F_LOG2PHYS is
practically useless; it doesn't give you the length of the extent.

In any case, it sounds horrendous. There'd be nothing stopping the
filesystem from moving your file after you'd got the result back.

The best approach is to farm out all I/O requests via a user process.
I believe this is what usually happens for Apple's disk images
(although it is also possible to have purely in-kernel handling).

Kind regards,

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

  • Follow-Ups:
    • Re: Doing file io from kernel IOKit driver context, again.
      • From: Michael Smith <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>)

  • Prev by Date: Re: Doing file io from kernel IOKit driver context, again.
  • Next by Date: Re: Doing file io from kernel IOKit driver context, again.
  • Previous by thread: Re: Doing file io from kernel IOKit driver context, again.
  • Next by thread: Re: Doing file io from kernel IOKit driver context, again.
  • Index(es):
    • Date
    • Thread