nfsd: export upcalls must not return ESTALE when mountd is down
authorTrond Myklebust <trondmy@gmail.com>
Sun, 1 Mar 2020 23:21:42 +0000 (18:21 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Mar 2020 16:04:33 +0000 (12:04 -0400)
commit65286b883c6de6b30928c837c47c167e82bde0b2
treed40b431adb770b253c21305c9680ed3456b22ffe
parent6a30e47fa0c358cc84002e6a429f5f229e0b7b07
nfsd: export upcalls must not return ESTALE when mountd is down

If the rpc.mountd daemon goes down, then that should not cause all
exports to start failing with ESTALE errors. Let's explicitly
distinguish between the cache upcall cases that need to time out,
and those that do not.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/dns_resolve.c
fs/nfsd/export.c
fs/nfsd/nfs4idmap.c
include/linux/sunrpc/cache.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/cache.c
net/sunrpc/svcauth_unix.c