Re: Doing file io from kernel IOKit driver context, again.
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Thu, Jun 10, 2010 at 11:49 AM, Michael Smith <drivers@mu.org> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Chris Suter