autofs  

Re: [autofs] statfs() and autofs

Ian Kent
Mon, 21 Jul 2008 00:40:03 -0700

On Sun, 2008-07-20 at 22:50 -0700, Chris Walker wrote:
> From jonathan [07/20 22:08]:
> > P.S. Chris, can you reliably demonstrate the not waiting for the mount 
> > problem?
> 
> I can, but I'm a few revs back. I'll see if I can replicate on current
> revs of linux and autofs.

It should be reproducible on any version of autofs and any kernel, if I
understand correctly what is causing it. But, the real gotcha is stat(2)
or statfs(2) are often accompanied by other system calls that will wait
for the mount to complete. The mount can complete sometimes before but
also sometimes after, and possibly independent of system call order (due
to scheduling) so the problem should be intermittent and appear
unpredictable.

Ian

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs