]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFS: Treat ENETUNREACH errors as fatal in containers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 20 Mar 2025 14:50:26 +0000 (10:50 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 21 Mar 2025 16:44:19 +0000 (12:44 -0400)
commit9827144bfb2b1baf1e78600da73dcc9e92e28415
treedaa90547d86292e64fc2ebf235e6611cbb9dbd57
parent487fae09d7e266a58a13784983cc1ef6a2076526
NFS: Treat ENETUNREACH errors as fatal in containers

Propagate the NFS_MOUNT_NETUNREACH_FATAL flag to work with the generic
NFS client. If the flag is set, the client will receive ENETDOWN and
ENETUNREACH errors from the RPC layer, and is expected to treat them as
being fatal.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/client.c
fs/nfs/nfs4client.c
fs/nfs/nfs4proc.c
include/linux/nfs_fs_sb.h
include/linux/sunrpc/clnt.h
include/linux/sunrpc/sched.h
include/trace/events/sunrpc.h
net/sunrpc/clnt.c