Re: Doing file io from kernel IOKit driver context, again.
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