mirror-linux/fs/nfs
Linus Torvalds 6bb34aff1e NFS client updates for Linux 6.19
Highlights include:
 
 Bugfixes:
 - Fix 'nlink' attribute update races when unlinking a file.
 - Add missing initialisers for the directory verifier in various places.
 - Don't regress the NFSv4 open state due to misordered racing replies.
 - Ensure the NFSv4.x callback server uses the correct transport
   connection.
 - Fix potential use-after-free races when shutting down the NFSv4.x
   callback server.
 - Fix a pNFS layout commit crash.
 - Assorted fixes to ensure correct propagation of mount options when the
   client crosses a filesystem boundary and triggers the VFS automount
   code.
 - More localio fixes.
 
 Features and cleanups:
 - Add initial support for basic directory delegations.
 - SunRPC back channel code cleanups.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQR8xgHcVzJNfOYElJo6EXfx2a6V0QUCaTrPnQAKCRA6EXfx2a6V
 0aLQAPwOs+bfoaPuk/EsC87m3rAtFJNPMg65toJY/6JnXnTGXgEAs1XlCcSCgc10
 bsX+D6QIudOoWExwFfLlVlFAFikGKQc=
 =DoZq
 -----END PGP SIGNATURE-----

Merge tag 'nfs-for-6.19-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs

Pull NFS client updates from Trond Myklebust:
 "Bugfixes:
   - Fix 'nlink' attribute update races when unlinking a file
   - Add missing initialisers for the directory verifier in various
     places
   - Don't regress the NFSv4 open state due to misordered racing replies
   - Ensure the NFSv4.x callback server uses the correct transport
     connection
   - Fix potential use-after-free races when shutting down the NFSv4.x
     callback server
   - Fix a pNFS layout commit crash
   - Assorted fixes to ensure correct propagation of mount options when
     the client crosses a filesystem boundary and triggers the VFS
     automount code
   - More localio fixes

  Features and cleanups:
   - Add initial support for basic directory delegations
   - SunRPC back channel code cleanups"

* tag 'nfs-for-6.19-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (24 commits)
  NFSv4: Handle NFS4ERR_NOTSUPP errors for directory delegations
  nfs/localio: remove 61 byte hole from needless ____cacheline_aligned
  nfs/localio: remove alignment size checking in nfs_is_local_dio_possible
  NFS: Fix up the automount fs_context to use the correct cred
  NFS: Fix inheritance of the block sizes when automounting
  NFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags
  Revert "nfs: ignore SB_RDONLY when mounting nfs"
  Revert "nfs: clear SB_RDONLY before getting superblock"
  Revert "nfs: ignore SB_RDONLY when remounting nfs"
  NFS: Add a module option to disable directory delegations
  NFS: Shortcut lookup revalidations if we have a directory delegation
  NFS: Request a directory delegation during RENAME
  NFS: Request a directory delegation on ACCESS, CREATE, and UNLINK
  NFS: Add support for sending GDD_GETATTR
  NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid
  NFSv4.1: protect destroying and nullifying bc_serv structure
  SUNRPC: new helper function for stopping backchannel server
  SUNRPC: cleanup common code in backchannel request
  NFSv4.1: pass transport for callback shutdown
  NFSv4: ensure the open stateid seqid doesn't go backwards
  ...
2025-12-12 21:52:42 +12:00
..
blocklayout NFS: Update the blocklayout to use xdr_set_scratch_folio() 2025-09-23 13:29:50 -04:00
filelayout NFS: Update the filelayout to use xdr_set_scratch_folio() 2025-09-23 13:29:50 -04:00
flexfilelayout NFSv4/flexfiles: fix to allocate mirror->dss before use 2025-10-13 14:33:00 -04:00
Kconfig nfs: add missing selections of CONFIG_CRC32 2025-04-13 16:39:42 -04:00
Makefile nfs: add LOCALIO support 2024-09-23 15:03:30 -04:00
cache_lib.c
cache_lib.h
callback.c NFSv4.1: protect destroying and nullifying bc_serv structure 2025-11-23 15:30:12 -05:00
callback.h NFSv4.1: pass transport for callback shutdown 2025-11-23 15:30:12 -05:00
callback_proc.c NFS: CB_OFFLOAD can return NFS4ERR_DELAY 2025-01-21 11:34:50 -05:00
callback_xdr.c nfsd: don't use sv_nrthreads in connection limiting calculations. 2025-01-06 09:37:36 -05:00
client.c NFS: Fix inheritance of the block sizes when automounting 2025-11-29 17:23:03 -05:00
delegation.c NFS: Add a module option to disable directory delegations 2025-11-23 16:01:47 -05:00
delegation.h NFS: Add a module option to disable directory delegations 2025-11-23 16:01:47 -05:00
dir.c NFS: Shortcut lookup revalidations if we have a directory delegation 2025-11-23 16:01:47 -05:00
direct.c nfs: direct: drop useless initializer in nfs_direct_write_completion() 2025-04-27 23:25:44 -04:00
dns_resolve.c
dns_resolve.h
export.c NFS: Fix filehandle bounds checking in nfs_fh_to_dentry() 2025-07-22 09:50:56 -04:00
file.c NFS: Enable use of the RWF_DONTCACHE flag on the NFS client 2025-09-23 13:29:50 -04:00
fs_context.c change the calling conventions for vfs_parse_fs_string() 2025-09-04 15:20:51 -04:00
fscache.c netfs: Fix undifferentiation of DIO reads from unbuffered reads 2025-05-23 10:35:03 +02:00
fscache.h netfs: Drop the was_async arg from netfs_read_subreq_terminated() 2024-12-20 22:34:03 +01:00
getroot.c nfs: fix the comment of nfs_get_root 2024-09-23 15:03:13 -04:00
inode.c NFS client updates for Linux 6.19 2025-12-12 21:52:42 +12:00
internal.h NFS: Fix inheritance of the block sizes when automounting 2025-11-29 17:23:03 -05:00
io.c NFS: Serialise O_DIRECT i/o and truncate() 2025-09-06 16:51:25 -04:00
iostat.h
localio.c NFS client updates for Linux 6.19 2025-12-12 21:52:42 +12:00
mount_clnt.c NFS: Remove unused function nfs_umount 2025-07-14 15:20:28 -07:00
namespace.c NFS: Fix up the automount fs_context to use the correct cred 2025-11-29 17:23:03 -05:00
netns.h nfs: move the nfs4_data_server_cache into struct nfs_net 2025-04-27 23:25:44 -04:00
nfs.h NFS: Implement get_nfs_version() 2024-11-08 14:17:37 -05:00
nfs2super.c
nfs2xdr.c nfs/localio: add tracepoints for misaligned DIO READ and WRITE support 2025-09-30 16:10:30 -04:00
nfs3_fs.h
nfs3acl.c nfs: nfs3acl: drop useless assignment in nfs3_get_acl() 2025-04-27 23:25:44 -04:00
nfs3client.c pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using TLS 2025-11-10 10:32:28 -05:00
nfs3proc.c NFS: Request a directory delegation during RENAME 2025-11-23 16:01:47 -05:00
nfs3super.c
nfs3xdr.c nfs/localio: add tracepoints for misaligned DIO READ and WRITE support 2025-09-30 16:10:30 -04:00
nfs4_fs.h NFSv4: Remove duplicate lookups, capability probes and fsinfo calls 2025-08-04 09:48:16 -07:00
nfs4client.c NFS: Fix inheritance of the block sizes when automounting 2025-11-29 17:23:03 -05:00
nfs4file.c filelock: push the S_ISREG check down to ->setlease handlers 2025-11-12 09:38:35 +01:00
nfs4getroot.c NFSv4: Remove duplicate lookups, capability probes and fsinfo calls 2025-08-04 09:48:16 -07:00
nfs4idmap.c nfs: use credential guards in nfs_idmap_get_key() 2025-11-04 12:36:45 +01:00
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFSv4: Handle NFS4ERR_NOTSUPP errors for directory delegations 2025-12-05 19:34:29 -05:00
nfs4renewd.c fs: replace use of system_wq with system_percpu_wq 2025-09-19 16:15:07 +02:00
nfs4session.c
nfs4session.h nfs: add missing selections of CONFIG_CRC32 2025-04-13 16:39:42 -04:00
nfs4state.c NFSv4.1: fix mount hang after CREATE_SESSION failure 2025-09-23 13:28:19 -04:00
nfs4super.c do_nfs4_mount(): switch to vfs_parse_fs_string() 2025-09-04 15:20:58 -04:00
nfs4sysctl.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
nfs4trace.c pNFS: Add prepare commit trace to block/scsi layout 2025-07-14 15:20:28 -07:00
nfs4trace.h NFSv4: ensure the open stateid seqid doesn't go backwards 2025-11-23 15:10:08 -05:00
nfs4xdr.c NFS: Add support for sending GDD_GETATTR 2025-11-23 16:01:46 -05:00
nfs42.h NFS: Add support for fallocate(FALLOC_FL_ZERO_RANGE) 2025-05-28 17:17:13 -04:00
nfs42proc.c NFS: Update listxattr to use xdr_set_scratch_folio() 2025-09-23 13:29:50 -04:00
nfs42xattr.c mm/list_lru: simplify the list_lru walk callback function 2024-11-11 17:22:26 -08:00
nfs42xdr.c NFS: Update listxattr to use xdr_set_scratch_folio() 2025-09-23 13:29:50 -04:00
nfsroot.c
nfstrace.c
nfstrace.h nfs/localio: add tracepoints for misaligned DIO READ and WRITE support 2025-09-30 16:10:30 -04:00
pagelist.c NFS: Fix a race when updating an existing write 2025-08-19 11:16:02 -07:00
pnfs.c NFS client updates for Linux 6.19 2025-12-12 21:52:42 +12:00
pnfs.h nfs: don't share pNFS DS connections between net namespaces 2025-04-27 23:25:44 -04:00
pnfs_dev.c
pnfs_nfs.c pnfs: Fix TLS logic in _nfs4_pnfs_v4_ds_connect() 2025-11-10 10:32:28 -05:00
proc.c NFS: Request a directory delegation during RENAME 2025-11-23 16:01:47 -05:00
read.c fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio() 2025-05-28 17:17:13 -04:00
super.c NFS: Fix inheritance of the block sizes when automounting 2025-11-29 17:23:03 -05:00
symlink.c fs: Pass a folio to page_put_link() 2025-05-15 12:14:29 +02:00
sysctl.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
sysfs.c NFS: sysfs: fix leak when nfs_client kobject add fails 2025-11-10 14:30:45 -05:00
sysfs.h
unlink.c NFS: Request a directory delegation during RENAME 2025-11-23 16:01:47 -05:00
write.c NFS: check if suid/sgid was cleared after a write as needed 2025-10-13 14:33:00 -04:00