[GIT PULL] Please pull NFS client changes
From: Trond Myklebust
Date: Thu Dec 06 2018 - 16:56:42 EST
Hi Linus,
Apologies for the relatively high volume this late in -rc. This is mainly
fallout from the updates to the SUNRPC code that is being triggered from
less common combinations of NFS mount options.
Cheers
Trond
The following changes since commit 4b78317679c4f3782a3cff0ddb269c1fcfde7621:
Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2018-12-01 12:35:48 -0800)
are available in the Git repository at:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.20-5
for you to fetch changes up to 79462857eb547e5d17fc8445b9768615e02dc1cf:
SUNRPC: Don't force a redundant disconnection in xs_read_stream() (2018-12-05 07:11:12 -0500)
----------------------------------------------------------------
NFS client bugfixes for Linux 4.20
Highlights include:
Stable fixes:
- Fix a page leak when using RPCSEC_GSS/krb5p to encrypt data.
Bugfixes:
- Fix a regression that causes the RPC receive code to hang
- Fix call_connect_status() so that it handles tasks that got transmitted
while queued waiting for the socket lock.
- Fix a memory leak in call_encode()
- Fix several other connect races.
- Fix receive code error handling.
- Use the discard iterator rather than MSG_TRUNC for compatibility with
AF_UNIX/AF_LOCAL sockets.
- nfs: don't dirty kernel pages read by direct-io
- pnfs/Flexfiles fix to enforce per-mirror stateid only for NFSv4 data
servers
----------------------------------------------------------------
Chuck Lever (1):
SUNRPC: Fix leak of krb5p encode pages
Dave Kleikamp (1):
nfs: don't dirty kernel pages read by direct-io
Tigran Mkrtchyan (1):
flexfiles: enforce per-mirror stateid only for v4 DSes
Trond Myklebust (9):
SUNRPC: call_connect_status() must handle tasks that got transmitted
SUNRPC: Fix a memory leak in call_encode()
SUNRPC: Fix a potential race in xprt_connect()
SUNRPC: Fix RPC receive hangs
SUNRPC: Fix up handling of the XDRBUF_SPARSE_PAGES flag
SUNRPC: Treat EFAULT as a truncated message in xs_read_stream_request()
SUNRPC: Use the discard iterator rather than MSG_TRUNC
SUNRPC: Fix up socket polling
SUNRPC: Don't force a redundant disconnection in xs_read_stream()
fs/nfs/direct.c | 9 +++-
fs/nfs/flexfilelayout/flexfilelayout.c | 6 ++-
include/linux/sunrpc/xdr.h | 1 -
net/sunrpc/auth_gss/auth_gss.c | 4 ++
net/sunrpc/clnt.c | 8 ++++
net/sunrpc/xprt.c | 13 +++++-
net/sunrpc/xprtsock.c | 81 ++++++++++++++++------------------
7 files changed, 73 insertions(+), 49 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx