[lkml]   [2004]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [autofs] [RFC] Towards a Modern Autofs
    On Tue, Jan 06, 2004 at 01:01:46PM -0800, H. Peter Anvin wrote:
    > Finally, throwing out the daemon is a huge step backwards. Most of the
    > problems with autofs v3 (and to a lesser extent v4) are due to the
    > *lack* of state in userspace (the current daemon is mostly stateless);
    > putting additional state in userspace would be a benefit in my experience.

    Can you maybe share some details? I think this deign moves MORE state to
    userspace (expiry aside). The "state" in kernel is really mostly sent back
    to userspace. No more passing pipes into the kernel (state) or tracking the
    pgid of the daemon (state).

    > Pardon me for sounding harsh, but I'm seriously sick of the oft-repeated
    > idiocy that effectively boils down to "the daemon can die and would lose
    > its state, so let's put it all in the kernel." A dead daemon is a
    > painful recovery, admitted. It is also a THIS SHOULD NOT HAPPEN

    But it *does* happen.

    > condition. By cramming it into the kernel, you're in fact making the
    > system less stable, not more, because the kernel being tainted with
    > faulty code is a total system malfunction; a crashed userspace daemon is

    I don't think this design crams anything into the kernel. It doesn't put a
    whole lot more into the kernel than is currently in there (expiry and new
    mount stuff, aside). All the work still happens in userland.

    The daemon as it stands does NOT handle namespaces, does NOT handle expiry
    well, and is a pretty sad copy of an old design.

    > "merely" a messy cleanup. In practice, the autofs daemon does not die
    > unless a careless system administrator kills it. It is a non-problem.

    I have some customers I'd love to send to you, if you really think that's
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:59    [W:0.038 / U:46.716 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site