linux/fs/nfs
Jonathan Curley dd2fa82473 NFSv4/flexfiles: Fix layout merge mirror check.
Typo in ff_lseg_match_mirrors makes the diff ineffective. This results
in merge happening all the time. Merge happening all the time is
problematic because it marks lsegs invalid. Marking lsegs invalid
causes all outstanding IO to get restarted with EAGAIN and connections
to get closed.

Closing connections constantly triggers race conditions in the RDMA
implementation...

Fixes: 660d1eb223 ("pNFS/flexfile: Don't merge layout segments if the mirrors don't match")
Signed-off-by: Jonathan Curley <jcurley@purestorage.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2025-09-08 14:37:55 -04:00
..
blocklayout NFS client updates for Linux 6.17 2025-08-09 07:20:44 +03:00
filelayout nfs: don't share pNFS DS connections between net namespaces 2025-04-27 23:25:44 -04:00
flexfilelayout NFSv4/flexfiles: Fix layout merge mirror check. 2025-09-08 14:37:55 -04:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server 2025-08-29 12:56:43 -04:00
delegation.c
delegation.h NFS: use a hash table for delegation lookup 2025-07-22 08:10:41 -04:00
dir.c
direct.c
dns_resolve.c
dns_resolve.h
export.c
file.c NFS: nfs_invalidate_folio() must observe the offset and size arguments 2025-09-06 16:51:26 -04:00
fs_context.c
fscache.c netfs: Fix undifferentiation of DIO reads from unbuffered reads 2025-05-23 10:35:03 +02:00
fscache.h
getroot.c
inode.c NFS: Serialise O_DIRECT i/o and truncate() 2025-09-06 16:51:25 -04:00
internal.h NFS: Serialise O_DIRECT i/o and truncate() 2025-09-06 16:51:25 -04:00
io.c NFS: Serialise O_DIRECT i/o and truncate() 2025-09-06 16:51:25 -04:00
iostat.h
Kconfig
localio.c nfs/localio: avoid bouncing LOCALIO if nfs_client_is_local() 2025-09-06 16:51:21 -04:00
Makefile
mount_clnt.c
namespace.c
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h
nfs4client.c
nfs4file.c NFSv4.2: Serialise O_DIRECT i/o and clone range 2025-09-06 16:51:25 -04:00
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFSv4: Clear NFS_CAP_OPEN_XOR and NFS_CAP_DELEGTIME if not supported 2025-08-29 12:56:43 -04:00
nfs4renewd.c
nfs4session.c
nfs4session.h nfs: add missing selections of CONFIG_CRC32 2025-04-13 16:39:42 -04:00
nfs4state.c
nfs4super.c
nfs4sysctl.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
nfs4trace.c
nfs4trace.h
nfs4xdr.c
nfs42.h
nfs42proc.c NFSv4.2: Serialise O_DIRECT i/o and copy range 2025-09-06 16:51:25 -04:00
nfs42xattr.c
nfs42xdr.c
nfsroot.c
nfstrace.c
nfstrace.h NFS: Protect against 'eof page pollution' 2025-09-06 16:51:25 -04:00
pagelist.c NFS: Fix a race when updating an existing write 2025-08-19 11:16:02 -07:00
pnfs.c
pnfs.h
pnfs_dev.c nfs: remove the unused max_deviceinfo_size field from struct pnfs_layoutdriver_type 2024-07-10 13:23:17 -04:00
pnfs_nfs.c
proc.c
read.c
super.c
symlink.c
sysctl.c
sysfs.c
sysfs.h NFS: Add sysfs links to sunrpc clients for nfs_clients 2023-06-19 15:04:13 -04:00
unlink.c
write.c NFS: Fix the marking of the folio as up to date 2025-09-06 16:51:26 -04:00