]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pNFS/flexfiles: Treat ENETUNREACH errors as fatal in containers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 20 Mar 2025 12:04:35 +0000 (08:04 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 21 Mar 2025 16:44:24 +0000 (12:44 -0400)
commit8c9f0df7a82a9f3bbdab4c796d302b20a33c1cc6
treeb4c398ef377435303bd580d0ae220a597cf8bd9c
parent9827144bfb2b1baf1e78600da73dcc9e92e28415
pNFS/flexfiles: Treat ENETUNREACH errors as fatal in containers

Propagate the NFS_MOUNT_NETUNREACH_FATAL flag to work with the pNFS
flexfiles client. In these circumstances, the client needs to treat the
ENETDOWN and ENETUNREACH errors as fatal, and should abandon the
attempted I/O.

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/flexfilelayout/flexfilelayout.c
fs/nfs/nfs3client.c
fs/nfs/nfs4client.c
include/linux/nfs4.h