Re: [PATCH] [Request for inclusion] Filesystem in Userspace

Avi Kivity
2004-11-24T12:15:46Z

Alan Cox wrote:

>>I really do believe that user-space filesystems have problems. There's a
>>reason we tend to do them in kernel space.
>>
>>But limiting the outstanding writes some way may at least hide the thing.
>>
>>
>
>Possibly dumb question. Is there a reason we can't have a prctl() that
>flips the PF_* flags for a user space daemon in the same way as we do
>for kernel threads that do I/O processing ?
>
>
>
http://lkml.org/lkml/2004/7/26/68

discusses a userspace filesystem (implemented as a userspace nfs server
mounted on a loopback nfs mount), the problem, a solution (exactly your
suggestion), and a more generic solution.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.