linux-yocto/fs/nfs
Trond Myklebust 94a09ec93e NFSv4/flexfiles: Fix handling of NFS level errors in I/O
[ Upstream commit 38074de35b ]

Allow the flexfiles error handling to recognise NFS level errors (as
opposed to RPC level errors) and handle them separately. The main
motivator is the NFSERR_PERM errors that get returned if the NFS client
connects to the data server through a port number that is lower than
1024. In that case, the client should disconnect and retry a READ on a
different data server, or it should retry a WRITE after reconnecting.

Reviewed-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Fixes: d67ae825a5 ("pnfs/flexfiles: Add the FlexFile Layout Driver")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 15:57:48 +02:00
..
blocklayout blocklayoutdriver: Fix reference leak of pnfs_device_node 2024-01-25 14:52:36 -08:00
filelayout nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:38:07 +02:00
flexfilelayout NFSv4/flexfiles: Fix handling of NFS level errors in I/O 2025-07-10 15:57:48 +02:00
cache_lib.c
cache_lib.h
callback_proc.c
callback_xdr.c SUNRPC: Fix integer overflow in decode_rc_list() 2024-10-17 15:11:53 +02:00
callback.c nfsd: stop setting ->pg_stats for unused stats 2024-09-04 13:23:30 +02:00
callback.h
client.c NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies() 2024-10-17 15:11:53 +02:00
delegation.c NFSv4: Check for delegation validity in nfs_start_delegation_return_locked() 2025-06-04 14:37:54 +02:00
delegation.h
dir.c
direct.c nfs: fix UAF in direct writes 2024-04-10 16:18:40 +02:00
dns_resolve.c
dns_resolve.h
export.c nfsd: allow reaping files still under writeback 2024-04-10 16:19:27 +02:00
file.c
fs_context.c
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails. 2025-07-10 15:57:44 +02:00
internal.h nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:44:12 +02:00
io.c
iostat.h
Kconfig nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:44:12 +02:00
Makefile
mount_clnt.c
namespace.c
netns.h nfs: make the rpc_stat per net namespace 2024-05-17 11:50:46 +02:00
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h
nfs4client.c NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server 2024-08-19 05:45:03 +02:00
nfs4file.c
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFSv4.2: fix listxattr to return selinux security label 2025-07-10 15:57:31 +02:00
nfs4renewd.c
nfs4session.c
nfs4session.h nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:44:12 +02:00
nfs4state.c NFSv4: Treat ENETUNREACH errors as fatal for state recovery 2025-06-04 14:37:55 +02:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h trace: Relocate event helper files 2024-04-10 16:19:24 +02:00
nfs4xdr.c
nfs42.h NFSv4.2: fix listxattr maximum XDR buffer size 2024-03-26 18:21:33 -04:00
nfs42proc.c NFSv4.2: mark OFFLOAD_CANCEL MOVEABLE 2025-03-13 12:50:10 +01:00
nfs42xattr.c
nfs42xdr.c NFSv4.2: fix COPY_NOTIFY xdr buf size calculation 2025-03-13 12:50:10 +01:00
nfsroot.c NFS: Fix an off by one in root_nfs_cat() 2024-03-26 18:21:33 -04:00
nfstrace.c
nfstrace.h NFS: Add a tracepoint to show the results of nfs_set_cache_invalid() 2024-11-14 13:13:35 +01:00
pagelist.c
pnfs_dev.c
pnfs_nfs.c nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:38:07 +02:00
pnfs.c NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN 2025-07-10 15:57:44 +02:00
pnfs.h nfs: don't share pNFS DS connections between net namespaces 2025-06-04 14:38:07 +02:00
proc.c
read.c nfs: Leave pages in the pagecache if readpage failed 2024-07-05 09:14:50 +02:00
super.c nfs: ignore SB_RDONLY when remounting nfs 2025-06-27 11:05:16 +01:00
symlink.c
sysctl.c
sysfs.c NFS: rename nfs_client_kset to nfs_kset 2023-10-10 21:59:04 +02:00
sysfs.h
unlink.c
write.c NFS: nfs_async_write_reschedule_io must not recurse into the writeback code 2024-12-14 19:50:38 +01:00