Skip to contentSkip to conversation

Please pull NFS client updates for Linux 6.5

GIT PULL Merged Trond Myklebust 2 participants 2 messages Jul 1, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 45a3e24f65e90a047bef86f927ebdc4c710edaa1:

Linux 6.4-rc7 (2023-06-18 14:06:27 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 5b4a82a0724af1dfd1320826e0266117b6a57fbd:

Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return" (2023-06-29 14:25:35 -0400)

Thanks,
Trond

----------------------------------------------------------------
NFS client updates for Linux 6.5

Highlights include:

Stable fixes and other bugfixes:
- nfs: don't report STATX_BTIME in ->getattr
- Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return" since it breaks NFSv4 state recovery.
- NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
- Fix the NFSv4.2 xattr cache shrinker_id
- Force a ctime update after a NFSv4.2 SETXATTR call

Features and cleanups:
- NFS and RPC over TLS client code from Chuck Lever.
- Support for use of abstract unix socket addresses with the rpcbind daemon.
- Sysfs API to allow shutdown of the kernel RPC client and prevent umount() hangs if the server is known to be permanently down.
- XDR cleanups from Anna.

----------------------------------------------------------------
Anna Schumaker (6):
NFSv4.2: Clean up: Move the encode_copy_commit() function NFSv4.2: Clean up: move decode_*xattr() functions NFSv4.2: Clean up: Move nfs4_xdr_enc_*xattr() functions NFSv4.2: Clean up nfs4_xdr_dec_*xattr() functions NFSv4.2: Clean up xattr size macros
NFSv4.2: SETXATTR should update ctime

Benjamin Coddington (13):
NFS: rename nfs_client_kset to nfs_kset
NFS: rename nfs_client_kobj to nfs_net_kobj
NFS: Open-code the nfs_kset kset_create_and_add()
NFS: Make all of /sys/fs/nfs network-namespace unique
NFS: add superblock sysfs entries
NFS: Add sysfs links to sunrpc clients for nfs_clients
NFS: add a sysfs link to the lockd rpc_client
NFS: add a sysfs link to the acl rpc_client
NFS: add sysfs shutdown knob
NFS: Cancel all existing RPC tasks when shutdown
NFSv4: Clean up some shutdown loops
NFS: Don't cleanup sysfs superblock entry if uninitialized Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"

Chuck Lever (9):
NFS: Improvements for fs_context-related tracepoints
SUNRPC: Plumb an API for setting transport layer security
SUNRPC: Trace the rpc_create_args
SUNRPC: Add RPC client support for the RPC_AUTH_TLS auth flavor
SUNRPC: Ignore data_ready callbacks during TLS handshakes
SUNRPC: Capture CMSG metadata on client-side receive
SUNRPC: Add a TCP-with-TLS RPC transport class
NFS: Have struct nfs_client carry a TLS policy field
NFS: Add an "xprtsec=" NFS mount option

Jeff Layton (1):

      nfs: don't report STATX_BTIME in ->getattr

NeilBrown (2):
SUNRPC: support abstract unix socket addresses
SUNRPC: attempt to reach rpcbind with an abstract socket name

Olga Kornievskaia (1):
NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION

Qi Zheng (1):
NFSv4.2: fix wrong shrinker_id

 fs/lockd/clntlock.c             |   6 +
 fs/nfs/client.c                 |  32 ++
 fs/nfs/fs_context.c             |  67 +++++
 fs/nfs/inode.c                  |   2 +-
 fs/nfs/internal.h               |   2 +
 fs/nfs/nfs3client.c             |  13 +-
 fs/nfs/nfs42proc.c              |  25 +-
 fs/nfs/nfs42xattr.c             |  79 ++---
 fs/nfs/nfs42xdr.c               | 631 +++++++++++++++++++++-------------------
 fs/nfs/nfs4client.c             |  44 ++-
 fs/nfs/nfs4proc.c               |   9 +-
 fs/nfs/nfs4state.c              |   3 +
 fs/nfs/super.c                  |  18 +-
 fs/nfs/sysfs.c                  | 235 ++++++++++++---
 fs/nfs/sysfs.h                  |  10 +-
 include/linux/lockd/bind.h      |   2 +
 include/linux/nfs_fs_sb.h       |   6 +-
 include/linux/nfs_xdr.h         |   3 +
 include/linux/sunrpc/auth.h     |   2 +
 include/linux/sunrpc/clnt.h     |  13 +-
 include/linux/sunrpc/xprt.h     |  18 ++
 include/linux/sunrpc/xprtsock.h |   3 +
 include/trace/events/sunrpc.h   |  96 +++++-
 net/sunrpc/Makefile             |   2 +-
 net/sunrpc/auth.c               |   2 +-
 net/sunrpc/auth_tls.c           | 175 +++++++++++
 net/sunrpc/clnt.c               |  22 +-
 net/sunrpc/rpcb_clnt.c          |  39 ++-
 net/sunrpc/sysfs.c              |   1 +
 net/sunrpc/sysfs.h              |   7 -
 net/sunrpc/xprtsock.c           | 434 ++++++++++++++++++++++++++-
 31 files changed, 1566 insertions(+), 435 deletions(-)
 create mode 100644 net/sunrpc/auth_tls.c
Signature · 3 lines
Trond Myklebust
Linux NFS client maintainer, Hammerspace
[email protected]