]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit8f54c7a4babf58bbaf849e126f7ae9664bdc9e04
tree86afff853c994e30fa86df68064eb1e8578d4126
parent7af46292dadcf8870946916f79fdddf79bd7267f
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