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

From: Avi Kivity
Date: Wed Nov 24 2004 - 09:24:24 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/