Re: [autofs] [RFC] Towards a Modern Autofs

From: Jeff Garzik
Date: Wed Jan 07 2004 - 16:26:10 EST


Mike Waychison wrote:
To put it into perspective, the I'm calling for the following major changes:
[...]
2) move the loop that used to spin around and ask kernelspace if there was anything to expire into the VFS as well, where it won't be killed.
[...]
(1) and (2) shouldn't be hard at all to do considering David Howells has done the majority of this already. (3) is needed in order to manage direct mounts properly for when they are 'covered'. Admittedly, (4) comes off as an ugly hack.

Also, (2) was the only 'active' task the automount daemon was doing. Everything else it did can be rewritten in the form of a usermode helper that runs only when it is needed. This simplifies the userspace code a lot.

Just going by your own explanation here, #2 should not be in the kernel.

If we moving daemons into the kernel just because they won't be killed, we'll have Oracle in-kernel before you know it. Completely spurious reason.

Jeff



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