]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 30 Nov 2020 22:03:18 +0000 (17:03 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:39:38 +0000 (09:39 -0500)
commit7bd9b516c04f7f6773a88e88f468140257df4e52
tree6e86240c261ca922b91cb3eb652537b89fa54c14
parentf6ab7393640fc62bbffdfd01daeeb0415538acee
nfsd: Fix up nfsd to ensure that timeout errors don't result in ESTALE

If the underlying filesystem times out, then we want knfsd to return
NFSERR_JUKEBOX/DELAY rather than NFSERR_STALE.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsfh.c