Skip to contentSkip to conversation

Please pull NFS Client changes for 6.6

GIT PULL Merged Anna Schumaker 2 participants 2 messages Aug 31, 2023

Subsystems (2)
lore
Share & tools
lore

Anna Schumaker

author maintainer
#0 lore raw

Hi Linus,

The following changes since commit 53663f4103ff6738e4697004d6f84864d052333d:

Merge tag 'nfs-for-6.5-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (2023-08-22 10:50:17 -0700)

are available in the Git repository at:

git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-6.6-1

for you to fetch changes up to c4a123d2e8c4dc91d581ee7d05c0cd51a0273fab:

pNFS: Fix assignment of xprtdata.cred (2023-08-30 14:31:31 -0400)

----------------------------------------------------------------
NFS CLient Updates for Linux 6.6

New Features:
* Enable the NFS v4.2 READ_PLUS operation by default

Stable Fixes:
* NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
* NFS: Fix a potential data corruption

Bugfixes:
* Fix various READ_PLUS issues including:
* smatch warnings
* xdr size calculations
* scratch buffer handling
* 32bit / highmem xdr page handling
* Fix checkpatch errors in file.c
* Fix redundant readdir request after an EOF
* Fix handling of COPY ERR_OFFLOAD_NO_REQ
* Fix assignment of xprtdata.cred

Cleanups:
* Remove unused xprtrdma function declarations
* Clean up an integer overflow check to avoid a warning
* Clean up #includes in dns_resolve.c
* Clean up nfs4_get_device_info so we don't pass a NULL pointer to __free_page()
* Clean up sunrpc TCP socket timeout configuration
* Guard against READDIR loops when entry names are too long
* Use EXCHID4_FLAG_USE_PNFS_DS for DS servers

Thanks,
Anna

----------------------------------------------------------------
Anna Schumaker (6):
NFSv4.2: Fix READ_PLUS smatch warnings NFSv4.2: Fix READ_PLUS size calculations NFSv4.2: Rework scratch handling for READ_PLUS (again)
SUNRPC: kmap() the xdr pages during decode
NFS: Enable the READ_PLUS operation by default
pNFS: Fix assignment of xprtdata.cred

Benjamin Coddington (1):
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN

Dan Carpenter (2):
SUNRPC: clean up integer overflow check nfs/blocklayout: Use the passed in gfp flags

Fedor Pchelkin (1):
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info

GUO Zihua (1):
NFS: Move common includes outside ifdef

Kinglong Mee (1):
nfs: fix redundant readdir request after get eof

Olga Kornievskaia (2):
NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ

Trond Myklebust (6):
NFS: Fix a potential data corruption
SUNRPC: Set the TCP_SYNCNT to match the socket timeout
SUNRPC: Refactor and simplify connect timeout
SUNRPC: Allow specification of TCP client connect timeout at setup
SUNRPC: Don't override connect timeouts in rpc_clnt_add_xprt() NFS/pNFS: Set the connect timeout for the pNFS flexfiles driver

Yue Haibing (1):
xprtrdma: Remove unused function declaration rpcrdma_bc_post_recv()

[email protected] (1):
filemap: Fix errors in file.c

 fs/nfs/Kconfig                  |  6 ++---
 fs/nfs/blocklayout/dev.c        |  4 +--
 fs/nfs/client.c                 |  2 ++
 fs/nfs/dir.c                    | 15 ++++++++---
 fs/nfs/direct.c                 | 20 ++++++++++++++-
 fs/nfs/dns_resolve.c            | 14 +++++------
 fs/nfs/file.c                   |  2 +-
 fs/nfs/internal.h               |  3 +++
 fs/nfs/nfs2xdr.c                |  2 +-
 fs/nfs/nfs3client.c             |  3 +++
 fs/nfs/nfs3xdr.c                |  2 +-
 fs/nfs/nfs42.h                  |  1 +
 fs/nfs/nfs42proc.c              |  5 ++--
 fs/nfs/nfs42xdr.c               | 17 ++++++++-----
 fs/nfs/nfs4client.c             |  3 +++
 fs/nfs/nfs4proc.c               | 17 ++++---------
 fs/nfs/pnfs_dev.c               |  2 +-
 fs/nfs/pnfs_nfs.c               |  5 +++-
 fs/nfs/read.c                   | 10 ++++++++
 include/linux/sunrpc/clnt.h     |  2 ++
 include/linux/sunrpc/xdr.h      |  6 ++---
 include/linux/sunrpc/xprt.h     |  2 ++
 net/sunrpc/clnt.c               |  8 ++++++
 net/sunrpc/svc.c                |  2 ++
 net/sunrpc/xdr.c                | 27 +++++++++++++++++++-
 net/sunrpc/xprtrdma/xprt_rdma.h |  1 -
 net/sunrpc/xprtsock.c           | 55 ++++++++++++++++++++++++++++++-----------
 27 files changed, 172 insertions(+), 64 deletions(-)