Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 1997 23:57:36 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, helbig@Informatik.BA-Stuttgart.DE
Cc:        current@FreeBSD.ORG
Subject:   Re: make world failed
Message-ID:  <199710111357.XAA24301@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   failure occurs early, for rm -f, because nfs returns ESTALE instead
>>   of ENOENT for (necessarily) failing lookups in the removed directory,
>>   and rm -f doesn't understand ESTALE.
>
>Should it?

I think the problem is really in nfs.  Removed directories should not
be found by namei().  nfs presumably caches the directory name and
finds the old inode and gets ESTALE when it attempts to access the
inode.  It should purge the cache and retry (not too many times).
It does purge the cache in nfs_request() but it doesn't seem to retry
there.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710111357.XAA24301>