Re: Using VFS operations for a given node
Re: Using VFS operations for a given node
- Subject: Re: Using VFS operations for a given node
- From: Michael Smith <email@hidden>
- Date: Wed, 25 Jul 2007 22:50:14 -0700
On Jul 25, 2007, at 12:28 AM, Arvind Dalvi wrote:
Then it means, all file I/O needs to be handled in user space.....
And if the file I/O needs to be done from or within the kernel, it
is done by the file system code (file system kext/driver) correct ?
You are correct; file operations should not as a rule be invoked from
within the kernel.
Any specific design issue/rule for not implementation file I/O from
or within the kernel ?
The general rule is "unless it has to be inside the kernel, it must
be outside".
In six-plus years of working on Darwin, I have yet to see a single
case where file operations needed to be performed from within the
kernel. Almost every case is "we do this on Windows, so of course we
should do it on Darwin".
= Mike
p.s. The Windows folks hate it when you do file I/O inside their
kernel, too.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden