On Tue, 4 Nov 2003, H. Peter Anvin wrote:

> Matthew Mitchell wrote:
> >
> > Yes, I know that mount can do that now.  But automount is spawning the
> > second mount before the first one completes, no?  Still seems like there
> > should be some sort of mutual exclusion around the lookup_mount call.  I
> > realize our workload is kind of funny in that the processes effectively
> > _try_ to synchronize their automount request.
> >
>
> autofs 3 relied on the mutural exclusion inherent in mount(2).  When
> this was changed, it introduced a race condition in autofs 3.  I have
> asked to add a mount flag to override this new behaviour; I don't know
> if one was ever introduced or added to mount(8).
>
> > Has any of this changed in the 4.0-pre autofs?  I haven't read through
> > its source yet.
>
> autofs 4 uses a different mutural exclusion strategy, so I would *think*
> it would not be affected.

autofs v4 was also affected. Overlapping requests caused some odd
problems.


-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: [EMAIL PROTECTED]
        v    Web: http://themaw.net/

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to