Re: race in autofs / nfs

Olaf Hering (olh@suse.de)
Mon, 12 Feb 2001 12:51:15 +0100


On Mon, Feb 12, Olaf Hering wrote:

> On Mon, Feb 12, Trond Myklebust wrote:
>
> > >>>>> " " == H Peter Anvin <hpa@transmeta.com> writes:
> >
> > > Olaf Hering wrote:
> > >>
> > >> Hi,
> > >>
> > >> there is a race in 2.4.1 and 2.4.2-pre3 in autofs/nfs. When
> > >> the cwd is on the nfs mounted server (== busy) and you try to
> > >> reboot the shutdown hangs in "rcautofs stop". I can reproduce
> > >> it everytime.
> > >>
> >
> > > Sounds like an NFS bug in umount.
> >
> > Or a dcache bug: the above points to a corruption of the mnt_count
> > which is supposed to be > 0 if the partition is in use. I'm seeing a
> > similar leak for ext2 partitions (not involving autofs or NFS).
>
> (hmm, it loads autofs and not autofs4 on 7.0?)

The autofs4.o is the culprit, it works perfect with autofs.o.

What would happen if I stick with autofs.o now?
The docu recommends autofs4 in modules.conf.

Gruss Olaf

-- 
 $ man clone

BUGS Main feature not yet implemented... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/