All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Matt Bernstein <+systems.extlists.autofs@dcs.qmul.ac.uk>
Cc: autofs@linux.kernel.org
Subject: Re: autofs {3, 4, 5} and bind mounts which point to other	automount points
Date: Sat, 26 Aug 2006 11:24:51 +0800	[thread overview]
Message-ID: <1156562691.3023.86.camel@raven.themaw.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0608251710580.17316@frank.dcs.qmul.ac.uk>

On Fri, 2006-08-25 at 17:19 +0100, Matt Bernstein wrote:
> At 23:55 +0800 Ian Kent wrote:
> 
> > I think I know why this isn't working.
> > It's due to the conversion to a threaded model.
> > And I fairly sure it can't work within v5 if we don't make changes.
> > It's actually quite difficult.
> 
> I appreciate this--thanks for taking the time to understand it :)
> 
> > Basically, the daemon doesn't ever trigger a mount itself and since
> > there is only one daemon now you can't cause a mount to happen in
> > another mount point.
> 
> Yes.. (that's why the accept() patch doesn't help); it may need some kind 
> of ability to recurse.
> 
> For bonus points, the following scenario is a quick route to a nasty 
> deadlock in autofs{3,4}: /a/1 binds to :/b/2; /b/2 binds to :/a/1. Having 
> some kind of cycle-detection might prevent some difficult-to-diagnose 
> crashes. (It happened to us..)

That's really hard to detect.
Mainly because of the autofs4 kernel module doesn't know much about the
user space daemon context and visa versa.

I'll think about that one.

Ian

  reply	other threads:[~2006-08-26  3:24 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 14:44 autofs {3, 4, 5} and bind mounts which point to other automount points Matt Bernstein
2006-08-25  1:29 ` Ian Kent
2006-08-25  6:45   ` Matt Bernstein
2006-08-25  6:58     ` Ian Kent
2006-08-25  7:07     ` Ian Kent
2006-08-25 11:18       ` Ian Kent
2006-08-25 13:09         ` Matt Bernstein
2006-08-25 13:22           ` Matt Bernstein
2006-08-25 14:37             ` Ian Kent
2006-08-27  7:52               ` Ian Kent
2006-08-29 11:11                 ` Ian Kent
2006-08-30 19:44                   ` Matt Bernstein
2006-08-31  3:18                     ` Ian Kent
2006-08-31  9:45                       ` Matt Bernstein
2006-08-31 10:25                         ` Ian Kent
2006-08-31 11:18                           ` Ian Kent
2006-08-31 11:54                             ` Matt Bernstein
2006-09-03 21:31                               ` autofs {3, 4, 5} and bind mounts which point to therr " Matt Bernstein
2006-09-15  9:57                                 ` autofs {3, 4, 5} and bind mounts which point to other " Matt Bernstein
2006-09-15 11:54                                   ` Ian Kent
2006-09-15 12:06                                     ` Matt Bernstein
2006-09-16  6:13                                       ` Ian Kent
2006-08-31 11:57                             ` Ian Kent
2006-08-31 12:10                               ` Matt Bernstein
2006-08-25 14:29           ` Ian Kent
2006-08-25 14:49             ` Matt Bernstein
2006-08-25 14:46 ` Ian Kent
2006-08-25 14:47   ` Matt Bernstein
2006-08-25 15:55     ` Ian Kent
2006-08-25 16:19       ` Matt Bernstein
2006-08-26  3:24         ` Ian Kent [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-25 16:18 Joe Pruett
2006-08-25 17:25 ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1156562691.3023.86.camel@raven.themaw.net \
    --to=raven@themaw.net \
    --cc=+systems.extlists.autofs@dcs.qmul.ac.uk \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.