[GIT PULL] Please pull NFS client bugfixes
From: Trond Myklebust
Date: Thu Aug 08 2019 - 17:26:57 EST
Hi Linus,
The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d:
Linux 5.3-rc3 (2019-08-04 18:40:12 -0700)
are available in the Git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.3-2
for you to fetch changes up to 67e7b52d44e3d539dfbfcd866c3d3d69da23a909:
NFSv4: Ensure state recovery handles ETIMEDOUT correctly (2019-08-07 12:55:11 -0400)
----------------------------------------------------------------
NFS client bugfixes for Linux 5.3
Highlights include:
Stable fixes:
- NFSv4: Ensure we check the return value of update_open_stateid() so we
correctly track active open state.
- NFSv4: Fix for delegation state recovery to ensure we recover all open
modes that are active.
- NFSv4: Fix an Oops in nfs4_do_setattr
Bugfixes:
- NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
- NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
- NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
- pNFS: Report errors from the call to nfs4_select_rw_stateid()
- NFSv4: Various other delegation and open stateid recovery fixes
- NFSv4: Fix state recovery behaviour when server connection times out
----------------------------------------------------------------
Trond Myklebust (12):
NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
NFSv4: Fix delegation state recovery
NFSv4: Print an error in the syslog when state is marked as irrecoverable
NFSv4: When recovering state fails with EAGAIN, retry the same recovery
NFSv4: Report the error from nfs4_select_rw_stateid()
NFSv4.1: Fix open stateid recovery
NFSv4.1: Only reap expired delegations
NFSv4: Check the return value of update_open_stateid()
NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
NFSv4: Fix an Oops in nfs4_do_setattr
NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
NFSv4: Ensure state recovery handles ETIMEDOUT correctly
fs/nfs/delegation.c | 25 ++++++++----
fs/nfs/delegation.h | 2 +-
fs/nfs/fscache.c | 7 +++-
fs/nfs/fscache.h | 2 +-
fs/nfs/nfs4_fs.h | 3 +-
fs/nfs/nfs4client.c | 5 ++-
fs/nfs/nfs4proc.c | 109 ++++++++++++++++++++++++++++++----------------------
fs/nfs/nfs4state.c | 49 ++++++++++++++++++-----
fs/nfs/pnfs.c | 7 +---
fs/nfs/super.c | 1 +
10 files changed, 135 insertions(+), 75 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx