mbox series

[GIT,PULL,v2] Please pull NFS client changes for 6.13

Message ID 173b7b2ce8ca6ab9cf692ea5e2ae7efea6ee9b31.camel@hammerspace.com (mailing list archive)
State New
Headers show
Series [GIT,PULL,v2] Please pull NFS client changes for 6.13 | expand

Pull-request

git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-6.13-1

Message

Trond Myklebust Nov. 29, 2024, 7:27 p.m. UTC
Hi Linus,

The following changes since commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2:

  Merge tag 'nfs-for-6.12-3' of git://git.linux-nfs.org/projects/anna/linux-nfs (2024-11-06 13:09:22 -1000)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-6.13-1

for you to fetch changes up to 38a125b31504f91bf6fdd3cfc3a3e9a721e6c97a:

  fs/nfs/io: make nfs_start_io_*() killable (2024-11-28 12:55:33 -0500)


Changes since v1: Removed the patch "nfs: pass flags to second superblock"
as agreed.

Cheers,
  Trond

----------------------------------------------------------------
NFS client updates for Linux 6.13

Highlights include:

Bugfixes:
- NFSv4.0: Fix a use-after-free problem in open()
- nfs/localio: fix for a memory corruption in nfs_local_read_done
- Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"
- nfsv4: ignore SB_RDONLY when mounting nfs
- sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reseting the transport
- SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT
- sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket
- pNFS/blocklayout: Fix device registration issues
- SUNRPC: Fix a hang in TLS sock_close if sk_write_pending

Features and cleanups:
- localio cleanups from Mike Snitzer
- Clean up refcounting on the nfs version modules
- __counted_by() annotations
- nfs: make processes that are waiting for an I/O lock killable

----------------------------------------------------------------
Anna Schumaker (5):
      NFS: Clean up locking the nfs_versions list
      NFS: Convert the NFS module list into an array
      NFS: Rename get_nfs_version() -> find_nfs_version()
      NFS: Clean up find_nfs_version()
      NFS: Implement get_nfs_version()

Benjamin Coddington (4):
      SUNRPC: Fix a hang in TLS sock_close if sk_write_pending
      SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT
      nfs/blocklayout: Don't attempt unregister for invalid block device
      nfs/blocklayout: Limit repeat device registration on failure

Jeff Layton (1):
      sunrpc: remove newlines from tracepoints

Li Lingfeng (1):
      nfs: ignore SB_RDONLY when mounting nfs

Liu Jian (2):
      sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
      sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket

Max Kellermann (1):
      fs/nfs/io: make nfs_start_io_*() killable

Mike Snitzer (4):
      nfs/localio: remove redundant suid/sgid handling
      nfs/localio: eliminate unnecessary kref in nfs_local_fsync_ctx
      nfs/localio: remove extra indirect nfs_to call to check {read,write}_iter
      nfs/localio: eliminate need for nfs_local_fsync_work forward declaration

NeilBrown (1):
      nfs/localio: must clear res.replen in nfs_local_read_done

Thorsten Blum (1):
      nfs: Annotate struct pnfs_commit_array with __counted_by()

Trond Myklebust (4):
      NFSv4.0: Fix the wake up of the next waiter in nfs_release_seqid()
      NFSv4.0: Fix a use-after-free problem in the asynchronous open()
      Revert "fs: nfs: fix missing refcnt by replacing folio_set_private by folio_attach_private"
      Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests"

 fs/nfs/blocklayout/blocklayout.c | 15 ++++++-
 fs/nfs/blocklayout/dev.c         |  6 +--
 fs/nfs/client.c                  | 64 ++++++++++++++-------------
 fs/nfs/direct.c                  | 21 +++++++--
 fs/nfs/file.c                    | 14 ++++--
 fs/nfs/fs_context.c              |  6 +--
 fs/nfs/internal.h                |  9 ++--
 fs/nfs/io.c                      | 44 +++++++++++++-----
 fs/nfs/localio.c                 | 96 ++++++++++++++++++----------------------
 fs/nfs/namespace.c               |  2 +-
 fs/nfs/nfs.h                     |  4 +-
 fs/nfs/nfs4proc.c                |  8 ++--
 fs/nfs/nfs4state.c               | 10 ++---
 fs/nfs/write.c                   | 55 ++++++++++++++---------
 include/linux/nfs_xdr.h          |  2 +-
 include/trace/events/sunrpc.h    |  4 +-
 net/sunrpc/svcsock.c             |  4 ++
 net/sunrpc/xprtsock.c            | 18 +++++---
 18 files changed, 229 insertions(+), 153 deletions(-)