Skip to contentSkip to conversation

Please Pull NFS Client Updates for Linux 7.2

GIT PULL Merged Anna Schumaker 2 participants 2 messages Jun 23 – Jun 24

Subsystems (2)
lore
Share & tools
lore

Anna Schumaker

author maintainer
#0 lore raw

Hi Linus,

The following changes since commit 4549871118cf616eecdd2d939f78e3b9e1dddc48:

Linux 7.1-rc7 (2026-06-07 15:37:58 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 284ea3fb4f6715201e1d9ef3474c25e817ad70e9:

NFS: Use common error handling code in nfs_alloc_server() (2026-06-17 14:07:09 -0400)

----------------------------------------------------------------
NFS Client Updates for Linux 7.2

New Features:
* XPRTRDMA: Decouple req recycling from RPC completion
* NFS: Expose FMODE_NOWAIT for read-only files

Bugfixes:
* SUNRPC: Fix sunrpc sysfs error handling
* SUNRPC: Fix uninitialized xprt_create_args structure
* XPRTRDMA: Harden connect and reply handling
* NFS: Fix EOF updates after fallocate/zero-range
* NFS: Keep PG_UPTODATE clear after read errors in page groups
* NFS: Use nfsi->rwsem to protect traversal of the file lock list
* NFS: Prevent resource leak in nfs_alloc_server()
* NFSv4: Clear exception state on successful mkdir retry
* NFSv4: Don't skip revalidate when holding a dir delegation and attrs are stale
* pNFS: Fix use-after-free in pnfs_update_layout()
* pNFS: Defer return_range callbacks until after inode unlock
* pNFS: Fix LAYOUTCOMMIT retry loop on OLD_STATEID
* pNFS: Reject zero-length r_addr in nfs4_decode_mp_ds_addr
* NFS/flexfiles: Reject zero-length filehandle version arrays
* NFS/flexfiles: Fix checking if a layout is striped
* NFS/flexfiles: Fixes for honoring FF_FLAGS_NO_IO_THRU_MDS

Other Cleanups and Improvements:
* Remove the fileid field from struct nfs_inode
* Move long-delayed xprtrdma work onto the system_dfl_long_wq
* Convert xprtrdma send buffer free list to an llist
* Show "<redacted>" for cert_serial and privkey_serial mount options

Thanks,
Anna

----------------------------------------------------------------
Chris Mason (3):
xprtrdma: Fix ep kref imbalance on ADDR_CHANGE
xprtrdma: Initialize re_id before removal registration
xprtrdma: Fix bcall rep leak and unbounded peek

Chuck Lever (13):
xprtrdma: Use sendctx DMA state for Send signaling
xprtrdma: Decouple req recycling from RPC completion
xprtrdma: Add request-pool slack for delayed recycling
xprtrdma: Clear receive-side ownership pointers on release
xprtrdma: Document and assert reply-handler invariants
xprtrdma: Fix I3 invariant comment in rpcrdma_complete_rqst
xprtrdma: Remove tautological I2 assertion in rpcrdma_reply_put
xprtrdma: Convert send buffer free list to llist
xprtrdma: Check frwr_wp_create() during connect
xprtrdma: Resize reply buffers before reposting receives
xprtrdma: Sanitize the reply credit grant after parsing
xprtrdma: Repost Receive buffers for malformed replies
xprtrdma: Return sendctx slot after Send preparation failure

Clark Wang (1):
nfs: keep PG_UPTODATE clear after read errors in page groups

Dai Ngo (2):
NFS: fix eof updates after NFSv4.2 fallocate/zero-range NFSv4/pnfs: defer return_range callbacks until after inode unlock

Dylan Yudaken (2):
nfs: add nowait version of nfs_start_io_direct
nfs: expose FMODE_NOWAIT for read-only files

Ethan Nelson-Moore (1):
NFS: correct CONFIG_NFS_V4 macro name in #endif comment

Hongling Zeng (2):
sunrpc: Fix error handling in rpc_sysfs_xprt_switch_add_xprt_store()
sunrpc: fix uninitialized xprt_create_args structure

Igor Raits (1):
NFSv4: clear exception state on successful mkdir retry

Jeff Layton (4):
nfs: store the full NFS fileid in inode->i_ino
nfs: remove nfs_compat_user_ino64() and deprecate enable_ino64
nfs: replace NFS_FILEID() and nfsi->fileid with inode->i_ino
nfs: remove fileid field from struct nfs_inode

Lei Yin (1):
NFSv4.1/pNFS: fix LAYOUTCOMMIT retry loop on OLD_STATEID

Marco Crivellari (1):
xprtrdma: Move long delayed work on system_dfl_long_wq

Markus Elfring (2):
NFS: Prevent resource leak in nfs_alloc_server()
NFS: Use common error handling code in nfs_alloc_server()

Michael Bommarito (2):
NFSv4/flexfiles: reject zero filehandle version count NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr

Mike Snitzer (2):
NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write

Sagi Grimberg (2):
pNFS/filelayout: fix cheking if a layout is striped
NFS: show redacted cert_serial and privkey_serial in mount options

Tom Haynes (1):
nfs: don't skip revalidate on directory delegation when attrs flagged stale

Wentao Liang (1):
pNFS: Fix use-after-free in pnfs_update_layout()

Yang Erkun (1):

      nfs: use nfsi->rwsem to protect traversal of the file lock list
 Documentation/admin-guide/kernel-parameters.txt |   7 -
 fs/nfs/callback_proc.c                          |   9 +-
 fs/nfs/client.c                                 |  14 +-
 fs/nfs/delegation.c                             |   9 +-
 fs/nfs/dir.c                                    |   6 +-
 fs/nfs/direct.c                                 |  12 +-
 fs/nfs/export.c                                 |   6 +-
 fs/nfs/file.c                                   |  16 +-
 fs/nfs/filelayout/filelayout.c                  |   6 +-
 fs/nfs/flexfilelayout/flexfilelayout.c          |  39 ++++-
 fs/nfs/flexfilelayout/flexfilelayout.h          |  16 ++
 fs/nfs/inode.c                                  |  90 ++++--------
 fs/nfs/internal.h                               |   1 +
 fs/nfs/io.c                                     |  41 ++++++
 fs/nfs/nfs42proc.c                              |  15 +-
 fs/nfs/nfs4proc.c                               |  63 ++++++--
 fs/nfs/nfs4trace.h                              |  79 +++++-----
 fs/nfs/nfstrace.h                               |  84 +++++------
 fs/nfs/pagelist.c                               |   2 +-
 fs/nfs/pnfs.c                                   |   8 +-
 fs/nfs/pnfs_nfs.c                               |   4 +-
 fs/nfs/read.c                                   |  25 +++-
 fs/nfs/super.c                                  |   4 +
 fs/nfs/unlink.c                                 |   2 +-
 fs/nfs/write.c                                  |   2 +-
 include/linux/nfs_fs.h                          |  25 ----
 include/linux/nfs_page.h                        |   1 +
 include/linux/nfs_xdr.h                         |   1 -
 net/sunrpc/sysfs.c                              |   4 +-
 net/sunrpc/xprtrdma/backchannel.c               |   5 +-
 net/sunrpc/xprtrdma/frwr_ops.c                  |   2 +-
 net/sunrpc/xprtrdma/rpc_rdma.c                  | 161 ++++++++++++++------
 net/sunrpc/xprtrdma/transport.c                 |  71 +++++++--
 net/sunrpc/xprtrdma/verbs.c                     | 187 ++++++++++++++++++++----
 net/sunrpc/xprtrdma/xprt_rdma.h                 |  12 +-
 35 files changed, 703 insertions(+), 326 deletions(-)