]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix spurious EIO read errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 15 Aug 2019 16:26:05 +0000 (12:26 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Aug 2019 19:31:29 +0000 (15:31 -0400)
commitd150abadc0c492375d55841da3283a7e242bc12d
tree86afff853c994e30fa86df68064eb1e8578d4126
parentaea727f234d73b2d6552ae74d90afa4bfc3d463c
NFS: Fix spurious EIO read errors

If the client attempts to read a page, but the read fails due to some
spurious error (e.g. an ACCESS error or a timeout, ...) then we need
to allow other processes to retry.
Also try to report errors correctly when doing a synchronous readpage.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/internal.h
fs/nfs/read.c
fs/nfs/write.c