Re: race in autofs / nfs

Olaf Hering
2001-02-12T09:35:39Z

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).

Send me patches :)
autofs is the latest, btw.