]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4: Treat ENETUNREACH errors as fatal for state recovery
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 25 Mar 2025 00:35:33 +0000 (20:35 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 26 Mar 2025 16:19:58 +0000 (12:19 -0400)
commit0af5fb5ed3d2fd9e110c6112271f022b744a849a
tree02732e94b33473278a6ba9912c5f09d89f415768
parentc81d5bcb7b38ab0322aea93152c091451b82d3f3
NFSv4: Treat ENETUNREACH errors as fatal for state recovery

If a containerised process is killed and causes an ENETUNREACH or
ENETDOWN error to be propagated to the state manager, then mark the
nfs_client as being dead so that we don't loop in functions that are
expecting recovery to succeed.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4state.c