[GIT PULL] Please pull NFS client bugfixes

From: Trond Myklebust
Date: Tue Aug 27 2019 - 15:26:58 EST


Hi Linus,

The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1:

Linux 5.3-rc5 (2019-08-18 14:31:08 -0700)

are available in the Git repository at:

git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-3

for you to fetch changes up to 99300a85260c2b7febd57082a617d1062532067e:

NFS: remove set but not used variable 'mapping' (2019-08-27 10:24:56 -0400)

----------------------------------------------------------------
NFS client bugfixes for Linux 5.3

Highlights include:

Stable fixes:
- Fix a page lock leak in nfs_pageio_resend()
- Ensure O_DIRECT reports an error if the bytes read/written is 0
- Don't handle errors if the bind/connect succeeded
- Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidat
ed"

Bugfixes:
- Don't refresh attributes with mounted-on-file information
- Fix return values for nfs4_file_open() and nfs_finish_open()
- Fix pnfs layoutstats reporting of I/O errors
- Don't use soft RPC calls for pNFS/flexfiles I/O, and don't abort for
soft I/O errors when the user specifies a hard mount.
- Various fixes to the error handling in sunrpc
- Don't report writepage()/writepages() errors twice.

----------------------------------------------------------------
Trond Myklebust (17):
NFS: Don't refresh attributes with mounted-on-file information
NFSv4: Fix return values for nfs4_file_open()
NFSv4: Fix return value in nfs_finish_open()
NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
SUNRPC: Don't handle errors if the bind/connect succeeded
pNFS/flexfiles: Turn off soft RPC calls
SUNRPC: Handle EADDRINUSE and ENOBUFS correctly
Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
SUNRPC: Handle connection breakages correctly in call_status()
pNFS/flexfiles: Don't time out requests on hard mounts
NFS: Fix spurious EIO read errors
NFS: Fix writepage(s) error handling to not report errors twice
NFSv2: Fix eof handling
NFSv2: Fix write regression

YueHaibing (1):
NFS: remove set but not used variable 'mapping'

fs/nfs/dir.c | 2 +-
fs/nfs/direct.c | 27 ++++++++++++-------
fs/nfs/flexfilelayout/flexfilelayout.c | 28 +++++++-------------
fs/nfs/inode.c | 33 ++++++++++++++----------
fs/nfs/internal.h | 10 ++++++++
fs/nfs/nfs4file.c | 12 ++++-----
fs/nfs/pagelist.c | 19 ++++++++------
fs/nfs/pnfs_nfs.c | 15 +++++++----
fs/nfs/proc.c | 7 +++--
fs/nfs/read.c | 35 ++++++++++++++++++-------
fs/nfs/write.c | 38 ++++++++++++---------------
include/linux/sunrpc/sched.h | 1 -
net/sunrpc/clnt.c | 47 +++++++++++++++++++++++-----------
net/sunrpc/xprt.c | 7 -----
14 files changed, 163 insertions(+), 118 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx