Re: race in autofs / nfs

From: Olaf Hering (olh@suse.de)
Date: Mon Feb 12 2001 - 06:51:15 EST


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 More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:45 EST