Re: race in autofs / nfs

Trond Myklebust
2001-02-12T08:57:43Z

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

Cheers,
Trond