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