]> 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)
commit33d9fd2753d0387d809fb35906b58d1ef7b42eeb
tree86afff853c994e30fa86df68064eb1e8578d4126
parentb37658265f37ef33bbdcdc6ea53039760792ab68
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